:root {
    --page: #0a1017;
    --page-deep: #070b10;
    --surface: rgba(22, 31, 41, 0.88);
    --surface-solid: #17202a;
    --surface-soft: rgba(255, 255, 255, 0.055);
    --surface-raised: #202c38;
    --ink: #f4f7fb;
    --muted: #b5c0cc;
    --quiet: #8392a2;
    --brand: #57a8ff;
    --brand-strong: #2d7bc7;
    --brand-soft: rgba(87, 168, 255, 0.16);
    --warm: #f0bd6a;
    --whatsapp: #2aa198;
    --line: rgba(181, 203, 225, 0.16);
    --header: rgba(10, 16, 23, 0.86);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 16px 46px rgba(0, 0, 0, 0.2);
    --radius-xl: 38px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --content: 1180px;
    --display: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif;
    --body: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.light-mode {
    --page: #cfd6dd;
    --page-deep: #c3ccd4;
    --surface: rgba(241, 244, 247, 0.92);
    --surface-solid: #eef2f5;
    --surface-soft: rgba(24, 71, 108, 0.09);
    --surface-raised: #f7f9fb;
    --ink: #0d1d2b;
    --muted: #3e5264;
    --quiet: #566b7d;
    --brand: #1769aa;
    --brand-strong: #104f81;
    --brand-soft: rgba(23, 105, 170, 0.15);
    --warm: #a96514;
    --whatsapp: #0f766e;
    --line: rgba(20, 59, 89, 0.21);
    --header: rgba(216, 223, 230, 0.95);
    --shadow: 0 28px 80px rgba(30, 58, 82, 0.2);
    --shadow-soft: 0 16px 46px rgba(30, 58, 82, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 108px;
}

html,
body {
    min-height: 100%;
}

body,
body.dark-mode,
body.light-mode {
    margin: 0;
    color: var(--ink);
    background-color: var(--page);
    background-repeat: repeat;
    background-size: 206px 206px;
    background-attachment: fixed;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    transition: color 180ms ease, background-color 180ms ease;
}

body.dark-mode {
    background-image:
        linear-gradient(rgba(7, 11, 16, 0.84), rgba(7, 11, 16, 0.84)),
        url("../Images/foggy-birds.png");
}

body.light-mode {
    background-image:
        linear-gradient(rgba(207, 214, 221, 0.68), rgba(207, 214, 221, 0.68)),
        url("../Images/foggy-birds-darker.png");
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    padding: 10px 16px;
    color: #fff;
    background: var(--brand-strong);
    border-radius: 10px;
    transform: translateY(-180%);
}

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

.site-header.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    min-height: 92px;
    padding: 0;
    color: var(--ink);
    background: var(--header);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav-shell {
    width: min(var(--content), calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar-brand.brand-mark {
    width: 126px;
    height: 84px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.brand-mark img {
    width: 118px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.32));
    transition: transform 180ms ease, filter 180ms ease;
}

body.light-mode .brand-mark img {
    filter: drop-shadow(0 3px 6px rgba(30, 71, 106, 0.16));
}

.brand-mark:hover img,
.brand-mark:focus-visible img {
    filter: none;
    transform: rotate(-1deg) scale(1.035);
}

.site-header .navbar-collapse {
    align-items: center;
}

.site-nav {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.site-nav .nav-item,
.site-actions .nav-item {
    position: static;
    left: auto;
}

.site-nav .nav-link,
.site-actions .nav-link {
    margin: 0;
    padding: 10px 12px;
    color: var(--muted) !important;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 750;
    text-decoration: none;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-actions .nav-link:hover,
.site-actions .nav-link:focus-visible {
    color: var(--ink) !important;
    background: var(--surface-soft);
}

.site-actions {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.account-link.nav-link {
    padding: 10px 17px;
    color: #fff !important;
    background: var(--brand-strong);
    box-shadow: 0 8px 22px rgba(28, 111, 184, 0.24);
}

.account-link.nav-link:hover,
.account-link.nav-link:focus-visible {
    color: #fff !important;
    background: var(--brand);
}

.theme-toggle {
    position: static;
    width: auto;
    min-width: 74px;
    margin: 0;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 7px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 750;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    color: var(--ink);
    border-color: var(--brand);
    outline: none;
}

.theme-toggle .mdi {
    color: var(--warm);
    font-size: 1.05rem;
}

.navbar-toggler {
    margin-left: auto;
    padding: 8px 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.navbar-toggler:focus {
    outline: 3px solid var(--brand-soft);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.menu-lines {
    position: relative;
}

.menu-lines::before,
.menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-lines::before {
    top: -7px;
}

.menu-lines::after {
    top: 7px;
}

.site-main {
    width: 100%;
    flex: 1;
}

.page-container.container {
    width: min(var(--content), calc(100% - 40px));
    max-width: var(--content);
    padding: 54px 0 90px;
}

.home-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.home-page {
    width: 100%;
    overflow: hidden;
}

.content-shell {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: 690px;
    padding: 76px 0 84px;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    align-items: center;
    gap: 68px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.team-copy h2,
.social-copy h2,
.visit-copy h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(3.45rem, 6.7vw, 6.4rem);
}

.hero h1 span {
    color: var(--brand);
}

.hero-lead {
    max-width: 640px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 1.16rem;
}

.hero-actions,
.visit-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.doggos-button {
    min-height: 50px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--brand);
    border-radius: 999px;
    font-weight: 820;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.doggos-button:hover,
.doggos-button:focus-visible {
    color: var(--ink);
    text-decoration: none;
    transform: translateY(-2px);
}

.doggos-button-primary {
    color: #fff;
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    box-shadow: 0 12px 30px rgba(30, 112, 183, 0.25);
}

.doggos-button-primary:hover,
.doggos-button-primary:focus-visible {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.doggos-button-secondary:hover,
.doggos-button-secondary:focus-visible {
    background: var(--brand-soft);
}

.doggos-button-whatsapp {
    color: #fff;
    background: var(--whatsapp);
    border-color: var(--whatsapp);
}

.doggos-button-whatsapp:hover,
.doggos-button-whatsapp:focus-visible {
    color: #fff;
    filter: brightness(0.92);
}

.quiet-note {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--quiet);
    font-size: 0.93rem;
}

.hero-photo {
    position: relative;
    isolation: isolate;
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 5% -12% -8% 11%;
    z-index: -2;
    background: linear-gradient(145deg, var(--brand-soft), rgba(240, 189, 106, 0.12));
    border: 1px solid var(--line);
    border-radius: 52% 48% 38% 62% / 48% 40% 60% 52%;
    transform: rotate(-7deg);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 18% -7% -2% 24%;
    z-index: -1;
    background-image: url("../Images/foggy-birds.png");
    opacity: 0.16;
    border-radius: 50%;
}

.hero-photo img {
    width: 100%;
    min-height: 530px;
    object-fit: cover;
    border: 9px solid var(--surface-raised);
    border-radius: 48% 52% 42% 58% / 46% 42% 58% 54%;
    box-shadow: var(--shadow);
}

.photo-tag {
    position: absolute;
    right: -14px;
    bottom: 35px;
    padding: 12px 17px;
    color: var(--ink);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    font-size: 0.88rem;
    font-weight: 850;
}

.trust-strip {
    margin: 0 auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 780;
    text-align: center;
}

.trust-item .mdi {
    color: var(--brand);
    font-size: 1.25rem;
}

.home-section {
    padding: 112px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2,
.story-copy h2,
.team-copy h2,
.social-copy h2,
.visit-copy h2 {
    font-size: clamp(2.45rem, 4.8vw, 4.45rem);
}

.section-heading > p:last-child,
.story-copy > p,
.team-copy > p,
.social-copy > p,
.visit-copy > p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 340px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, border-color 180ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    background: var(--brand-soft);
    border-radius: 50%;
}

.service-card:hover {
    border-color: rgba(87, 168, 255, 0.48);
    transform: translateY(-5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 42px;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 15px;
    font-size: 1.45rem;
}

.service-card h3 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1.15;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.service-link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 26px;
    color: var(--brand);
    font-weight: 820;
    text-decoration: none;
}

.service-link:hover,
.service-link:focus-visible {
    color: var(--brand);
    text-decoration: underline;
}

.shop-section {
    padding-top: 74px;
}

.shop-page-container {
    width: 100%;
}

.shop-page {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 100px;
}

.shop-page-hero {
    min-height: 430px;
    padding: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.52fr);
    align-items: end;
    gap: 70px;
    background:
        linear-gradient(135deg, rgba(13, 56, 92, 0.96), rgba(29, 103, 161, 0.9)),
        url("../Images/foggy-birds.png");
    border: 1px solid rgba(147, 204, 255, 0.22);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shop-page-intro .eyebrow {
    color: #baddfa;
}

.shop-page-intro h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(3.2rem, 6.2vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.shop-page-intro h1 span {
    color: #9bd1ff;
}

.shop-page-intro > p:last-child {
    max-width: 670px;
    margin: 24px 0 0;
    color: #d7ebfb;
    font-size: 1.08rem;
}

.shop-page-hero .shop-system-note {
    margin: 0;
    color: #17354e;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.7);
}

.shop-page-hero .shop-system-note strong,
.shop-page-hero .shop-system-note span {
    display: block;
}

.shop-page-hero .shop-system-note span {
    margin-top: 3px;
    color: #536d80;
}

.shop-catalogue {
    padding: 100px 0 88px;
}

.shop-catalogue-heading {
    margin-bottom: 38px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.shop-catalogue-heading h2,
.shop-help-panel h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.shop-catalogue-heading h2 {
    max-width: 760px;
    font-size: clamp(2.45rem, 4.8vw, 4.45rem);
}

.shop-catalogue-heading > p {
    max-width: 355px;
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 0.94rem;
}

.shop-page .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.shop-help-panel {
    padding: 46px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.shop-help-panel h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.shop-help-panel > div > p:last-child {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
}

.shop-help-panel .doggos-button {
    flex: 0 0 auto;
}

.shop-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    align-items: end;
    gap: 54px;
}

.shop-heading-row .section-heading {
    margin-bottom: 38px;
}

.shop-system-note {
    margin-bottom: 48px;
    padding: 17px 19px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.shop-system-note .mdi {
    color: var(--brand);
    font-size: 1.3rem;
}

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

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.product-card-loading {
    min-height: 460px;
    background:
        linear-gradient(105deg, transparent 38%, var(--surface-soft) 48%, transparent 58%) 0 0 / 220% 100%,
        var(--surface);
    animation: product-loading 1.4s linear infinite;
}

@keyframes product-loading {
    to { background-position: -220% 0, 0 0; }
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, var(--brand-soft), var(--surface-soft));
    overflow: hidden;
}

.product-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--brand);
    background-image: url("../Images/foggy-birds.png");
    background-size: 170px;
}

body.light-mode .product-placeholder {
    background-image: url("../Images/foggy-birds-darker.png");
}

.product-placeholder .mdi {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    padding: 7px 11px;
    color: var(--ink);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    font-size: 0.76rem;
    font-weight: 820;
}

.product-copy {
    min-height: 270px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.product-category {
    margin: 0 0 7px;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-copy h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.35rem;
    line-height: 1.2;
}

.product-description {
    margin: 13px 0 0;
    color: var(--muted);
}

.product-footer {
    margin-top: auto;
    padding-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.product-price,
.product-availability {
    display: block;
}

.product-price {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.05rem;
}

.product-availability {
    margin-top: 2px;
    color: var(--quiet);
    font-size: 0.78rem;
}

.product-action,
.catalog-text-link {
    color: var(--brand);
    font-weight: 820;
    text-decoration: none;
}

.product-action:hover,
.product-action:focus-visible,
.catalog-text-link:hover,
.catalog-text-link:focus-visible {
    color: var(--brand);
    text-decoration: underline;
}

.catalog-message {
    grid-column: 1 / -1;
    margin: 0;
    padding: 42px;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
}

.catalog-admin-page {
    width: 100%;
}

.catalog-admin-header {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.catalog-admin-header h1,
.catalog-form-panel h2,
.catalog-list-panel h2,
.integration-panel h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    line-height: 1.1;
}

.catalog-admin-header h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.catalog-admin-header > div > p:last-child {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
}

.integration-panel {
    margin-bottom: 24px;
    padding: 25px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #fff;
    background: linear-gradient(135deg, rgba(13, 56, 92, 0.98), rgba(29, 103, 161, 0.94));
    border: 1px solid rgba(147, 204, 255, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.integration-panel h2,
.integration-panel p {
    color: #fff;
}

.integration-panel p {
    margin: 8px 0 0;
}

.integration-kicker {
    margin: 0 !important;
    color: #baddfa !important;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.integration-panel .doggos-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.catalog-alerts {
    margin-bottom: 24px;
}

.catalog-alert {
    margin: 0;
    padding: 13px 16px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: 10px;
}

.catalog-alert-danger {
    border-left-color: #d85f5f;
}

.catalog-admin-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: 24px;
}

.catalog-form-panel,
.catalog-list-panel {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.managed-field-note {
    margin: 12px 0 0;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 740;
}

.invoice-ninja-product-summary {
    margin-top: 20px;
    padding: 15px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 17px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.invoice-ninja-product-image {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: var(--surface-solid);
    border-radius: 12px;
    overflow: hidden;
    font-size: 2.2rem;
}

.invoice-ninja-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invoice-ninja-product-summary h3,
.invoice-ninja-product-summary p {
    margin: 0;
}

.invoice-ninja-product-summary h3 {
    font-family: var(--display);
    font-size: 1.05rem;
}

.invoice-ninja-product-summary > div:last-child > p:not(.product-category) {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.84rem;
}

.invoice-ninja-product-summary strong,
.invoice-ninja-product-summary span {
    display: block;
}

.invoice-ninja-product-summary strong {
    margin-top: 9px;
    color: var(--ink);
}

.invoice-ninja-product-summary span {
    color: var(--quiet);
    font-size: 0.78rem;
}

.catalog-source-explainer {
    margin-top: 22px;
    padding: 24px;
    display: grid;
    gap: 14px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.catalog-source-explainer .mdi {
    color: var(--brand);
    font-size: 2rem;
}

.catalog-source-explainer p {
    margin: 0;
}

.catalog-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.catalog-form label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 780;
}

.catalog-form input,
.catalog-form textarea,
.catalog-form select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.catalog-form textarea {
    resize: vertical;
}

.catalog-form input:focus,
.catalog-form textarea:focus,
.catalog-form select:focus {
    outline: 3px solid var(--brand-soft);
    border-color: var(--brand);
}

.catalog-form input[readonly] {
    color: var(--quiet);
    cursor: not-allowed;
}

.catalog-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.catalog-checks {
    display: grid;
    gap: 9px;
}

.catalog-checks label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 0.9rem;
}

.catalog-checks input {
    width: 18px;
    min-height: 18px;
    margin: 0;
}

.catalog-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-list-heading {
    margin-bottom: 20px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.catalog-list-heading > p {
    max-width: 280px;
    margin: 0;
    color: var(--quiet);
    font-size: 0.84rem;
    text-align: right;
}

.catalog-admin-list {
    display: grid;
    gap: 12px;
}

.catalog-admin-item {
    padding: 13px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.catalog-admin-item.is-hidden {
    opacity: 0.68;
}

.catalog-admin-thumb {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: var(--surface-solid);
    border-radius: 12px;
    overflow: hidden;
    font-size: 1.8rem;
}

.catalog-admin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-admin-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-admin-copy h3,
.catalog-admin-copy p {
    margin: 0;
}

.catalog-admin-copy h3 {
    font-family: var(--display);
    font-size: 1rem;
}

.catalog-admin-copy p {
    color: var(--quiet);
    font-size: 0.8rem;
}

.catalog-state {
    padding: 3px 7px;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 850;
}

.catalog-price-admin {
    color: var(--muted) !important;
    font-weight: 760;
}

.catalog-admin-actions {
    display: grid;
    justify-items: end;
    gap: 5px;
}

.catalog-text-link {
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 0.8rem;
    cursor: pointer;
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 72px;
}

.story-gallery {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.story-gallery img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.story-gallery .gallery-tall {
    height: 482px;
    grid-row: 1 / span 2;
}

.story-pills {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.story-pills span {
    padding: 8px 12px;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid rgba(87, 168, 255, 0.2);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 820;
}

.team-section {
    padding-top: 28px;
}

.team-card {
    padding: 34px;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    align-items: center;
    gap: 38px;
    background: linear-gradient(145deg, var(--surface), var(--surface-solid));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.team-photo-wrap {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    align-items: end;
    gap: 10px;
}

.team-photo {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 45% 45% 22px 22px;
}

.team-photo-secondary {
    height: 265px;
    border-radius: 25px 45% 25px 25px;
}

.team-label {
    margin: 26px 0 0;
    color: var(--warm);
    font-weight: 820;
}

.team-note {
    margin: 6px 0 0;
    color: var(--quiet);
    font-size: 0.92rem;
}

.social-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 70px;
}

.social-card {
    min-height: 510px;
    padding: 22px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.social-card .fb-page,
.social-card .facebook-feed {
    width: 100%;
    max-width: 500px !important;
}

.facebook-feed {
    display: block;
    min-height: 500px;
    background: #fff;
    border: 0;
    border-radius: 12px;
}

.social-fallback {
    max-width: 460px;
    padding: 32px;
    text-align: center;
}

.social-fallback .mdi {
    color: var(--brand);
    font-size: 3.2rem;
}

.social-fallback h3 {
    margin: 10px 0;
    font-family: var(--display);
}

.social-fallback p {
    color: var(--muted);
}

.social-highlights {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.social-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--muted);
}

.social-highlights .mdi {
    margin-top: 2px;
    color: var(--brand);
}

.visit-panel {
    margin-bottom: 106px;
    padding: 62px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 58px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 56, 92, 0.96), rgba(29, 103, 161, 0.92)),
        url("../Images/foggy-birds.png");
    border: 1px solid rgba(147, 204, 255, 0.22);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.visit-panel .eyebrow,
.visit-panel .visit-copy > p {
    color: #c9e6ff;
}

.visit-panel .visit-copy h2 {
    color: #fff;
}

.visit-panel .doggos-button-primary {
    color: #16456c;
    background: #fff;
    border-color: #fff;
}

.visit-panel .doggos-button-secondary {
    color: #fff;
    border-color: #9bcdf5;
}

.visit-panel .doggos-button-secondary:hover,
.visit-panel .doggos-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.details-card {
    padding: 30px;
    color: #142231;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 48px rgba(4, 23, 39, 0.24);
}

.details-card h3 {
    margin: 0 0 7px;
    font-family: var(--display);
    font-size: 1.18rem;
}

.details-card address {
    margin: 0;
    color: #536575;
    font-style: normal;
}

.details-card > div + div {
    margin-top: 24px;
    padding-top: 23px;
    border-top: 1px solid #dce6ef;
}

.hours-list {
    margin: 0;
}

.hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.hours-list div + div {
    margin-top: 7px;
}

.hours-list dt {
    font-weight: 750;
}

.hours-list dd {
    margin: 0;
    color: #536575;
    text-align: right;
}

.site-footer.footbar {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 54px max(20px, calc((100% - var(--content)) / 2));
    color: #c8d5df;
    background: #071019;
    border-top: 1px solid rgba(175, 208, 234, 0.12);
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 112px;
    height: 64px;
    padding: 6px 10px;
    object-fit: contain;
    background: #fff;
    border-radius: 13px;
}

.footer-main strong {
    color: #fff;
    font-family: var(--display);
    font-size: 1.08rem;
}

.footer-main p {
    margin: 1px 0 0;
}

.footer-links {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: #fff;
    font-weight: 780;
}

.acknowledgement {
    max-width: 850px;
    margin: 34px 0 0;
    color: #9fb1c0;
    font-size: 0.86rem;
}

.copyright {
    margin: 24px 0 0;
    color: #718696;
    font-size: 0.8rem;
}

body .dropdown-menu {
    padding: 8px;
    color: var(--ink);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

body .dropdown-item {
    padding: 8px 11px;
    color: var(--ink);
    border-radius: 9px;
}

body .dropdown-item:hover,
body .dropdown-item:focus {
    color: var(--ink) !important;
    background: var(--surface-soft);
}

body .modal-content,
body .modal-content.dark-mode,
body .modal-content.light-mode {
    color: var(--ink);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

body .modal-header,
body .modal-footer {
    border-color: var(--line);
}

body .modal-content .close {
    color: var(--ink);
    text-shadow: none;
}

body .form-control,
body .querytype {
    min-height: 44px;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

body .querytype {
    width: 100%;
    padding: 8px 10px;
}

body .form-control:focus,
body .querytype:focus {
    color: var(--ink);
    background: var(--surface-soft);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

body .btn-primary {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
}

body .btn-primary:hover,
body .btn-primary:focus {
    background: var(--brand);
    border-color: var(--brand);
}

@media (max-width: 1060px) {
    .nav-shell {
        gap: 16px;
    }

    .site-nav .nav-link {
        padding-inline: 8px;
        font-size: 0.88rem;
    }

    .hero {
        gap: 42px;
    }

    .social-layout {
        gap: 44px;
    }
}

@media (max-width: 991.98px) {
    .site-header.navbar,
    .nav-shell {
        min-height: 82px;
    }

    .nav-shell {
        flex-wrap: wrap;
        padding: 7px 0;
    }

    .navbar-brand.brand-mark {
        width: 106px;
        height: 68px;
    }

    .brand-mark img {
        width: 100px;
        height: 68px;
    }

    .site-header .navbar-collapse {
        width: 100%;
        padding: 14px 0 17px;
        border-top: 1px solid var(--line);
    }

    .site-nav,
    .site-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .site-nav .nav-link,
    .site-actions .nav-link {
        display: block;
        padding: 10px 12px;
    }

    .site-actions {
        margin-top: 10px;
    }

    .theme-toggle {
        width: 100%;
        justify-content: flex-start;
    }

    .hero,
    .story-layout,
    .social-layout,
    .visit-panel,
    .shop-heading-row,
    .shop-page-hero,
    .catalog-admin-layout {
        grid-template-columns: 1fr;
    }

    .shop-page-hero {
        min-height: 0;
        gap: 45px;
    }

    .shop-catalogue-heading,
    .shop-help-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-catalogue-heading > p {
        max-width: 700px;
    }

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

    .shop-system-note {
        margin: -18px 0 38px;
    }

    .catalog-admin-header,
    .integration-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        padding-top: 58px;
        gap: 56px;
    }

    .hero-photo {
        max-width: 680px;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .service-icon {
        margin-bottom: 25px;
    }

    .story-layout,
    .social-layout {
        gap: 50px;
    }

    .team-card {
        grid-template-columns: 1fr;
    }

    .team-photo-wrap {
        max-width: 650px;
    }

    .visit-panel {
        padding: 46px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 86px;
    }

    .nav-shell,
    .content-shell,
    .page-container.container,
    .shop-page {
        width: min(100% - 28px, var(--content));
    }

    .shop-page {
        padding: 36px 0 70px;
    }

    .shop-page-hero {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .shop-page-intro h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .shop-catalogue {
        padding: 72px 0 64px;
    }

    .shop-help-panel {
        padding: 30px 23px;
        border-radius: 26px;
    }

    .shop-help-panel .doggos-button {
        width: 100%;
    }

    .hero {
        min-height: 0;
        padding: 48px 0 66px;
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 4.6rem);
    }

    .hero-lead {
        font-size: 1.04rem;
    }

    .hero-actions,
    .visit-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .doggos-button {
        width: 100%;
    }

    .hero-photo img {
        min-height: 390px;
    }

    .photo-tag {
        right: 8px;
        bottom: 22px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .trust-item {
        justify-content: flex-start;
        text-align: left;
    }

    .home-section {
        padding: 78px 0;
    }

    .section-heading h2,
    .story-copy h2,
    .team-copy h2,
    .social-copy h2,
    .visit-copy h2 {
        font-size: clamp(2.25rem, 12vw, 3.4rem);
    }

    .service-card {
        padding: 25px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-copy {
        min-height: 0;
    }

    .catalog-admin-header .doggos-button,
    .integration-panel .doggos-button {
        width: 100%;
    }

    .integration-panel form {
        width: 100%;
    }

    .catalog-form-row {
        grid-template-columns: 1fr;
    }

    .invoice-ninja-product-summary {
        grid-template-columns: 1fr;
    }

    .invoice-ninja-product-image {
        width: 100%;
        height: 190px;
    }

    .catalog-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-list-heading > p {
        max-width: none;
        text-align: left;
    }

    .catalog-admin-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .catalog-admin-thumb {
        width: 58px;
        height: 58px;
    }

    .catalog-admin-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-end;
        gap: 16px;
    }

    .story-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .story-gallery .gallery-tall {
        height: 390px;
        grid-column: 1 / span 2;
        grid-row: auto;
    }

    .story-gallery img {
        height: 185px;
    }

    .team-card {
        padding: 22px;
        border-radius: 26px;
    }

    .team-photo-wrap {
        grid-template-columns: 1fr 0.75fr;
    }

    .team-photo {
        height: 310px;
    }

    .team-photo-secondary {
        height: 220px;
    }

    .social-card {
        min-height: 440px;
        padding: 12px;
    }

    .visit-panel {
        width: calc(100% - 28px);
        margin-bottom: 70px;
        padding: 30px 22px;
    }

    .hours-list div {
        display: block;
    }

    .hours-list dd {
        text-align: left;
    }

    .footer-main {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-links {
        width: 100%;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
