/* پرشین پت — صفحه‌ی خانه (موبایل اول؛ بزرگ‌تر شدن با min-width) */

.pp-section {
    padding-top: 56px;
}

/*#region hero (Home-Slides) */
.pp-hero-section {
    padding-top: 12px;
}

.pp-hero {
    position: relative;
    background: var(--pp-tint);
    border-radius: var(--pp-radius-lg);
    overflow: hidden;
}

.pp-hero .swiper-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-hero .swiper-slide {
    display: flex;
    flex-direction: column;
    background: var(--pp-tint);
    height: auto;
}

.pp-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 20px 84px;
    box-sizing: border-box;
}

.pp-hero-text .pp-eyebrow {
    margin: 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--pp-surface);
    color: var(--pp-accent);
}

.pp-hero-title {
    margin: 0;
    font-family: var(--pp-display);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.35;
    color: var(--pp-ink);
}

.pp-hero-notes {
    margin: 0;
    max-width: 460px;
    color: var(--pp-muted);
    font-size: 15px;
}

.pp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
}

.pp-hero-cta .pp-btn {
    flex: 1 1 160px;
}

.pp-hero-media {
    order: -1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 240px;
    padding: 20px 20px 0;
    box-sizing: border-box;
}

/* دایره‌ی نارنجی پشت تصویر (رنگ لوگو) */
.pp-hero-media::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--pp-tint-2);
}

.pp-hero-media img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* تصویرهای پس‌زمینه‌سفید روی رنگ زمینه می‌نشینند */
    mix-blend-mode: multiply;
}

.pp-hero-nav {
    position: absolute;
    right: 20px;
    bottom: 22px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pp-hero-nav button,
.pp-round-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pp-line-2);
    border-radius: 999px;
    background: var(--pp-surface);
    color: var(--pp-ink);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.pp-hero-nav button:hover,
.pp-round-btn:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
    color: #FFFFFF;
}

.pp-round-btn.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.pp-hero-dots {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto !important;
}

.pp-hero-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--pp-line-2);
    opacity: 1;
    transition: width .25s ease, background-color .25s ease;
}

.pp-hero-dots .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: var(--pp-accent);
}
/*#endregion */

/*#region trust (service promises) */
ul.pp-trust {
    list-style: none;
    margin: 0;
    padding: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

ul.pp-trust > li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: var(--pp-surface);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius);
}

.pp-trust-icon {
    flex: none;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--pp-mint);
    color: var(--pp-secondary);
}

ul.pp-trust > li:nth-child(2n) .pp-trust-icon {
    background: var(--pp-tint);
    color: var(--pp-accent);
}

ul.pp-trust > li > span:last-child {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.7;
    color: var(--pp-muted);
}

ul.pp-trust strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--pp-ink);
}

ul.pp-trust a {
    color: var(--pp-accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}
/*#endregion */

/*#region categories (Products) */
ul.pp-cats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

li.pp-cat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: var(--pp-surface);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius-lg);
    transition: box-shadow .25s ease, border-color .25s ease;
}

li.pp-cat:hover {
    border-color: var(--pp-tint-2);
    box-shadow: var(--pp-shadow);
}

a.pp-cat-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--pp-ink);
}

.pp-cat-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pp-radius);
    background: var(--pp-tint);
    color: var(--pp-brand);
    overflow: hidden;
}

li.pp-cat:nth-child(2n) .pp-cat-media {
    background: var(--pp-mint);
    color: var(--pp-secondary);
}

.pp-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s ease;
}

a.pp-cat-main:hover .pp-cat-media img {
    transform: scale(1.05);
}

.pp-cat-name {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

a.pp-cat-main:hover .pp-cat-name {
    color: var(--pp-accent);
}

ul.pp-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

ul.pp-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pp-ground);
    border: 1px solid var(--pp-line);
    color: var(--pp-muted);
    font-size: 13px;
}

ul.pp-chips a:hover {
    border-color: var(--pp-accent);
    color: var(--pp-accent);
}
/*#endregion */

/*#region products carousel */
.pp-products .pp-section-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-products .pp-round-btn {
    display: none;
}

.pp-products .swiper-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-products .swiper-slide {
    height: auto;
}
/*#endregion */

/*#region pets (Home-Pets) */
ul.pp-pets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

a.pp-pet {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 180px;
    padding: 20px;
    border-radius: var(--pp-radius-lg);
    background: var(--pp-tint);
    color: var(--pp-ink);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

ul.pp-pets > li:nth-child(2n) a.pp-pet {
    background: var(--pp-mint);
}

a.pp-pet:hover {
    box-shadow: var(--pp-shadow);
    transform: translateY(-2px);
    color: var(--pp-ink);
}

.pp-pet-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.pp-pet-name {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
}

.pp-pet-notes {
    color: var(--pp-muted);
    font-size: 15px;
}

.pp-pet-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--pp-accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

ul.pp-pets > li:nth-child(2n) .pp-pet-cta {
    background: var(--pp-secondary);
}

.pp-pet-media {
    flex: 0 0 45%;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pp-pet-media img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s ease;
}

a.pp-pet:hover .pp-pet-media img {
    transform: scale(1.04);
}
/*#endregion */

/*#region vet consult */
.pp-consult {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 28px 20px 0;
    border-radius: var(--pp-radius-lg);
    background: var(--pp-deep);
    color: var(--pp-on-dark);
    overflow: hidden;
}

.pp-consult-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pp-consult .pp-eyebrow {
    color: var(--pp-secondary-soft);
}

.pp-consult .pp-h2 {
    color: #FFFFFF;
}

.pp-consult-text > p:not(.pp-eyebrow) {
    margin: 0;
    max-width: 560px;
    color: var(--pp-dark-muted);
}

.pp-consult-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.pp-consult .pp-btn.pp-btn-line {
    border-color: var(--pp-on-dark);
    color: var(--pp-on-dark);
}

.pp-consult .pp-btn.pp-btn-line:hover {
    background: var(--pp-on-dark);
    color: var(--pp-deep);
}

p.pp-consult-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

p.pp-consult-address svg {
    flex: none;
    margin-top: 5px;
    color: var(--pp-secondary-soft);
}

.pp-consult-media {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pp-consult-media img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 50% 50% 0 0;
    background: #FFFFFF;
}
/*#endregion */

/*#region blog */
ul.pp-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

ul.pp-posts article {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--pp-surface);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius-lg);
    overflow: hidden;
    transition: box-shadow .25s ease;
}

ul.pp-posts article:hover {
    box-shadow: var(--pp-shadow);
}

.pp-post-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--pp-canvas);
    overflow: hidden;
}

.pp-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

ul.pp-posts article:hover .pp-post-media img {
    transform: scale(1.04);
}

.pp-post-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 22px;
}

.pp-post-date {
    margin: 0;
    font-size: 13px;
    color: var(--pp-muted);
}

ul.pp-posts h3 {
    margin: 0;
    font-family: var(--pp-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

ul.pp-posts h3 a:hover {
    color: var(--pp-accent);
}

.pp-post-summary {
    margin: 0;
    color: var(--pp-muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*#endregion */

/*#region instagram & telegram */
.pp-social-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

a.pp-instagram {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    border-radius: var(--pp-radius-lg);
    background: linear-gradient(135deg, var(--pp-tint) 0%, #FFE4EC 100%);
    color: var(--pp-ink);
}

a.pp-instagram:hover {
    color: var(--pp-ink);
    box-shadow: var(--pp-shadow);
}

.pp-instagram-icon {
    flex: none;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF);
    color: #FFFFFF;
}

.pp-instagram-text {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--pp-muted);
    font-size: 14px;
}

.pp-instagram-text .pp-h2 {
    font-size: 22px;
    color: var(--pp-ink);
}

.pp-instagram-handle {
    color: var(--pp-accent);
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

a.pp-instagram .pp-btn {
    flex: 1 1 100%;
}

a.pp-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: var(--pp-radius);
    border: 1px solid var(--pp-line);
    background: var(--pp-surface);
    color: #1B6FA8;
    font-weight: 600;
}

a.pp-telegram:hover {
    border-color: #1B6FA8;
    color: #135682;
}
/*#endregion */

/*#region brands strip */
ul.pp-brands {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

a.pp-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    padding: 12px 16px;
    box-sizing: border-box;
    background: var(--pp-surface);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius);
    color: var(--pp-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}

a.pp-brand img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .8;
    transition: filter .25s ease, opacity .25s ease;
}

a.pp-brand-text span {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    text-transform: capitalize;
}

a.pp-brand:hover {
    border-color: var(--pp-accent);
    box-shadow: var(--pp-shadow);
    color: var(--pp-accent);
}

a.pp-brand:hover img {
    filter: none;
    opacity: 1;
}
/*#endregion */

/*#region responsive (min-width) */
@media (min-width: 576px) {
    ul.pp-cats {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

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

    a.pp-instagram .pp-btn {
        flex: none;
    }
}

@media (min-width: 768px) {
    .pp-section {
        padding-top: 80px;
    }

    .pp-hero-section {
        padding-top: 24px;
    }

    .pp-hero .swiper-slide {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: center;
        min-height: 400px;
    }

    .pp-hero-text {
        gap: 14px;
        padding: 48px 48px 96px;
    }

    .pp-hero-title {
        font-size: 40px;
    }

    .pp-hero-notes {
        font-size: 16px;
    }

    .pp-hero-cta {
        width: auto;
    }

    .pp-hero-cta .pp-btn {
        flex: none;
    }

    .pp-hero-media {
        order: 0;
        height: 100%;
        min-height: 400px;
        padding: 32px 32px 0;
    }

    .pp-hero-media::before {
        width: 340px;
        height: 340px;
        bottom: -40px;
    }

    .pp-hero-media img {
        max-height: 360px;
    }

    .pp-hero-nav {
        right: 48px;
        bottom: 32px;
    }

    ul.pp-trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        padding-top: 28px;
    }

    ul.pp-trust > li {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 18px;
    }

    .pp-products .pp-round-btn {
        display: inline-flex;
    }

    .pp-products .pp-section-tools .pp-link {
        margin-left: 12px;
    }

    ul.pp-pets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    a.pp-pet {
        min-height: 260px;
        padding: 32px;
    }

    .pp-pet-name {
        font-size: 40px;
    }

    .pp-pet-media img {
        max-height: 240px;
    }

    .pp-consult {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        align-items: end;
        gap: 32px;
        padding: 48px 48px 0;
    }

    .pp-consult-text {
        padding-bottom: 48px;
    }

    ul.pp-posts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .pp-social-block {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
        gap: 16px;
    }

    a.pp-instagram {
        flex-wrap: nowrap;
        padding: 32px 36px;
        gap: 24px;
    }

    .pp-instagram-text .pp-h2 {
        font-size: 26px;
    }

    a.pp-telegram {
        flex-direction: column;
        border-radius: var(--pp-radius-lg);
    }

    ul.pp-brands {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .pp-section {
        padding-top: 96px;
    }

    .pp-hero .swiper-slide {
        min-height: 460px;
    }

    .pp-hero-text {
        padding: 64px 72px 112px;
    }

    .pp-hero-title {
        font-size: 48px;
    }

    .pp-hero-media {
        min-height: 460px;
    }

    .pp-hero-media::before {
        width: 400px;
        height: 400px;
    }

    .pp-hero-media img {
        max-height: 420px;
    }

    .pp-hero-nav {
        right: 72px;
        bottom: 40px;
    }

    ul.pp-cats {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    li.pp-cat {
        padding: 16px;
    }

    .pp-consult {
        padding: 56px 64px 0;
    }

    .pp-consult-text {
        padding-bottom: 56px;
    }

    ul.pp-brands {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
/*#endregion */

/* مقاله‌ی بی‌تصویر سایت اصلی : لوگو کامل و کوچک‌تر دیده شود */
.pp-post-media img[src*="/images/Logo.png"] { object-fit: contain; padding: 18%; background: var(--pp-surface); }
