/* ===================================================================
   Yummy Pet – site stylesheet
   Brand pink is unchanged from the original design: --pink #ff4fa1.
   Layout uses .wrap as the page container (Bootstrap is not loaded).
   =================================================================== */

:root {
    --pink: #ff4fa1;
    --pink-dark: #e63c8c;
    --pink-light: #f6cce0;
    --pink-pale: #fff5f9;
    --dark: #222;
    --body: #3d3d3d;
    --muted: #6f6f6f;
    --line: #ece4e8;
    --white: #fff;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 14px 40px rgba(255, 79, 161, .12);
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, .06);
    --wrap: 1140px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    color: var(--body);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
}

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

a {
    color: var(--pink);
    text-decoration: none;
}

    a:hover {
        color: var(--pink-dark);
    }

h1, h2, h3, h4, h5 {
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

p {
    margin-bottom: 14px;
}

ul, ol {
    margin: 0 0 14px 22px;
}

li {
    margin-bottom: 8px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- header ---------------- */

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    z-index: 50;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mini-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.hotline {
    color: var(--pink);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
}

    .hotline a {
        color: inherit;
    }

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

    .main-nav a {
        color: var(--dark);
        font-weight: 600;
        font-size: 13px;
        letter-spacing: .4px;
        padding: 8px 12px;
        border-radius: 999px;
        transition: background .16s ease, color .16s ease;
    }

        .main-nav a:hover {
            color: var(--pink);
            background: var(--pink-pale);
        }

        /* Active tab set by site.js from the current path */
        .main-nav a.active {
            color: var(--white);
            background: var(--pink);
        }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--dark);
        border-radius: 2px;
        transition: transform .2s ease, opacity .2s ease;
    }

/* ---------------- shared section pieces ---------------- */

.section {
    padding: 64px 0;
}

.section-tight {
    padding: 40px 0;
}

.section-alt {
    background: var(--pink-pale);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    color: var(--pink);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
    font-family: inherit;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(255, 79, 161, .28);
}

    .btn-primary:hover {
        background: var(--pink-dark);
        color: var(--white);
    }

.btn-ghost {
    background: transparent;
    border-color: var(--pink);
    color: var(--pink);
}

    .btn-ghost:hover {
        background: var(--pink);
        color: var(--white);
    }

.btn-light {
    background: var(--white);
    color: var(--pink);
    box-shadow: var(--shadow-sm);
}

    .btn-light:hover {
        color: var(--pink-dark);
    }

.btn-block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.tag {
    display: inline-block;
    background: var(--pink-pale);
    color: var(--pink);
    border: 1px solid var(--pink-light);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ---------------- hero ---------------- */

.hero {
    background: linear-gradient(160deg, var(--pink-pale) 0%, #fff 55%, var(--pink-pale) 100%);
    padding: 56px 0 64px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero h1 .accent {
    color: var(--pink);
}

.hero-lead {
    font-size: 16px;
    color: var(--body);
    margin-bottom: 14px;
}

.hero-media {
    position: relative;
}

    .hero-media img {
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        width: 100%;
    }

.hero-note {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

/* ---------------- cards & grids ---------------- */

.grid {
    display: grid;
    gap: 26px;
}

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

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--pink-light);
}

.card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--pink-pale);
    color: var(--pink);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ---------------- split section ---------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split-reverse .split-media {
    order: 2;
}

.split-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.split h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

/* ---------------- quote / testimonial ---------------- */

.quote-card {
    background: var(--white);
    border-left: 4px solid var(--pink);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
    font-size: 16px;
    color: var(--dark);
    font-style: italic;
}

    .quote-card footer {
        margin-top: 12px;
        font-style: normal;
        font-size: 13px;
        color: var(--muted);
    }

/* ---------------- product cards ---------------- */

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

.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: var(--pink-light);
    }

.product-thumb {
    background: var(--pink-pale);
    padding: 18px;
}

    .product-thumb img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: 8px;
    }

.product-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-body p {
    color: var(--muted);
    font-size: 13.5px;
    flex: 1;
    margin-bottom: 16px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

/* ---------------- filters ---------------- */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 34px;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--body);
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .16s ease;
}

    .filter-btn:hover {
        border-color: var(--pink);
        color: var(--pink);
    }

    .filter-btn.active {
        background: var(--pink);
        border-color: var(--pink);
        color: var(--white);
    }

/* ---------------- detail page ---------------- */

.page-hero {
    background: var(--pink-pale);
    padding: 44px 0 40px;
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

    .breadcrumb a {
        color: var(--muted);
    }

        .breadcrumb a:hover {
            color: var(--pink);
        }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: start;
}

.detail-media {
    background: var(--pink-pale);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 110px;
}

    .detail-media img {
        border-radius: var(--radius);
        width: 100%;
    }

.detail h1 {
    font-size: 30px;
    margin-bottom: 14px;
}

.detail .lead {
    font-size: 15px;
    color: var(--body);
    margin-bottom: 20px;
}

.fact-list {
    list-style: none;
    margin: 0 0 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

    .fact-list li {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin: 0;
        padding: 11px 16px;
        font-size: 14px;
        border-bottom: 1px solid var(--line);
    }

        .fact-list li:last-child {
            border-bottom: 0;
        }

        .fact-list li:nth-child(odd) {
            background: var(--pink-pale);
        }

        .fact-list li span:first-child {
            color: var(--muted);
        }

        .fact-list li span:last-child {
            font-weight: 600;
            color: var(--dark);
            text-align: right;
        }

.prose {
    max-width: 820px;
}

    .prose h2 {
        font-size: 24px;
        margin: 40px 0 14px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--pink-light);
    }

    .prose h3 {
        font-size: 18px;
        margin: 26px 0 10px;
        color: var(--pink-dark);
    }

    .prose p {
        margin-bottom: 14px;
    }

    .prose ul {
        margin-bottom: 18px;
    }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 26px;
    font-size: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .data-table caption {
        caption-side: top;
        text-align: left;
        font-weight: 700;
        color: var(--dark);
        padding-bottom: 8px;
        font-size: 14px;
    }

    .data-table th {
        background: var(--pink);
        color: var(--white);
        text-align: left;
        padding: 12px 16px;
        font-weight: 600;
    }

    .data-table td {
        padding: 11px 16px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
    }

    .data-table tr:nth-child(even) td {
        background: var(--pink-pale);
    }

    .data-table td:last-child {
        font-weight: 600;
        color: var(--dark);
    }

.callout {
    background: var(--pink-pale);
    border: 1px solid var(--pink-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 22px 0;
}

    .callout h3, .callout h4 {
        margin-top: 0;
        margin-bottom: 8px;
        color: var(--pink-dark);
        font-size: 15px;
    }

    .callout ul {
        margin-bottom: 0;
    }

.note-box {
    background: #fffaf0;
    border: 1px solid #f3e0b5;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 22px 0;
}

    .note-box h3 {
        margin-top: 0;
        color: #8a6a12;
        font-size: 15px;
    }

/* ---------------- blog ---------------- */

.post-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .post-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: var(--pink-light);
    }

.post-thumb img {
    width: 100%;
    aspect-ratio: 12 / 7;
    object-fit: cover;
}

.post-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-body h3 {
    font-size: 17px;
    margin: 10px 0 8px;
}

.post-body p {
    color: var(--muted);
    font-size: 14px;
    flex: 1;
}

.read-more {
    font-weight: 600;
    font-size: 13.5px;
}

/* ---------------- contact ---------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 20px;
}

    .contact-block h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--pink-dark);
    }

.form-field {
    margin-bottom: 18px;
}

    .form-field label {
        display: block;
        font-weight: 600;
        font-size: 13.5px;
        color: var(--dark);
        margin-bottom: 6px;
    }

    .form-field input,
    .form-field textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        font-family: inherit;
        font-size: 14px;
        color: var(--body);
        background: var(--white);
        transition: border-color .16s ease, box-shadow .16s ease;
    }

        .form-field input:focus,
        .form-field textarea:focus {
            outline: none;
            border-color: var(--pink);
            box-shadow: 0 0 0 3px rgba(255, 79, 161, .12);
        }

    .form-field textarea {
        min-height: 130px;
        resize: vertical;
    }

    .form-field .field-validation-error {
        color: #c0264f;
        font-size: 12.5px;
        display: block;
        margin-top: 4px;
    }

    .form-field input.input-validation-error,
    .form-field textarea.input-validation-error {
        border-color: #c0264f;
    }

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert-success {
    background: #eafaf0;
    border: 1px solid #b6e6c8;
    color: #1d6b3d;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 22px;
    font-size: 14px;
}

.map-placeholder {
    background: var(--pink-pale);
    border: 1px dashed var(--pink-light);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ---------------- CTA band ---------------- */

.cta-band {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: var(--white);
    padding: 56px 0;
}

    .cta-band .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        flex-wrap: wrap;
    }

    .cta-band h2 {
        color: var(--white);
        font-size: 26px;
        margin-bottom: 8px;
    }

    .cta-band p {
        color: rgba(255, 255, 255, .9);
        margin: 0;
        max-width: 620px;
    }

/* ---------------- footer ---------------- */

.site-footer {
    background: #2b2b2b;
    color: rgba(255, 255, 255, .78);
    padding: 52px 0 0;
    font-size: 14px;
}

.footer-wrap {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 58px;
    width: auto;
    margin-bottom: 14px;
    background: var(--white);
    border-radius: 8px;
    padding: 6px 10px;
}

.site-footer h4 {
    color: var(--white);
    font-size: 14px;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.site-footer p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .72);
}

.site-footer a {
    color: var(--pink-light);
}

    .site-footer a:hover {
        color: var(--white);
    }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 20px 24px;
    font-size: 13px;
}

/* ---------------- animations ---------------- */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeLoad .8s ease forwards;
}

.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

@keyframes fadeLoad {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    .card-hover:hover,
    .product-card:hover,
    .post-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1000px) {
    .hero-grid,
    .split,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split-reverse .split-media {
        order: 0;
    }

    .detail-media {
        position: static;
    }

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

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

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

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 46px 0;
    }

    .wrap {
        padding: 0 18px;
    }

    .header-wrap {
        min-height: 70px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mini-logo {
        height: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .header-right {
        display: none;
        width: 100%;
        align-items: flex-start;
        padding: 10px 0 16px;
        border-top: 1px solid var(--line);
        margin-top: 8px;
    }

        .header-right.open {
            display: flex;
        }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }

        .main-nav a {
            padding: 11px 12px;
            border-radius: 8px;
        }

    .hotline {
        padding: 6px 12px 10px;
    }

    .product-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-wrap {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 27px;
    }

    .section-head h2 {
        font-size: 24px;
    }

    .detail h1 {
        font-size: 23px;
    }

    .cta-band .wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .fact-list li {
        flex-direction: column;
        gap: 2px;
    }

        .fact-list li span:last-child {
            text-align: left;
        }

    .data-table {
        font-size: 13px;
    }

        .data-table th,
        .data-table td {
            padding: 9px 11px;
        }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 23px;
    }

    .btn {
        width: 100%;
    }

    .btn-row .btn {
        width: 100%;
    }
}
