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

:root {
    /* Primary Colors - رنگ‌های اصلی - روشن‌تر برای دوستانه‌تر بودن */
    --pine-deep: #2d7a68;
    --pine: #3d9b85;

    /* Accent Colors - خفیف‌تر */
    --paw: #f0934e;
    --paw-light: #f5b17a;

    /* Neutrals */
    --text-dark: #2a3d32;
    --text-gray: #777;
    --bg-white: #fafaf8;
    --bg-light: #f8f5f0;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #e8772e;
    --error: #dc3545;

    /* Legacy (for compatibility) */
    --ink: #2a3d32;
    --cream: #f9f7f4;
    --mint: #e8f3f0;
    --paw-deep: #d97e3a;
    --white: #fffaf7;
    --sand: #f5d99f;
    --sand-light: #fdecd8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #F3F4F6;
        --text-gray: #D1D5DB;
        --bg-white: #1F2937;
        --bg-light: #111827;
        --cream: #111827;
    }
}

:root[data-theme="dark"] {
    --text-dark: #F3F4F6;
    --text-gray: #D1D5DB;
    --bg-white: #1F2937;
    --bg-light: #111827;
    --cream: #111827;
}

:root[data-theme="light"] {
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-white: #FFFFFF;
    --bg-light: #F3F4F6;
    --cream: #F3F4F6;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

/* حاشیه‌ی نوار بالای هدر (تلفن/ایمیل/ساعت) نصف شده - هماهنگ با .nav، بدون اثر روی .wrap عمومی بقیه‌ی بخش‌های سایت */
.topbar .wrap {
    max-width: 1680px;
    padding-left: 16px;
    padding-right: 16px;
}

/* نوار نازک بالای هدر - تلفن/ایمیل/ساعت کاری (قابل‌ویرایش توسط ادمین) + تاریخ و ساعت زنده */
.topbar {
    background: #2a2620;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.topbar-contact {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-clock {
    opacity: 0.9;
}

@media (max-width: 700px) {
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-contact { justify-content: center; }
}

.brand {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--pine-deep);
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    height: 30px;
    width: auto;
    display: block;
}

/* لوگوی جدید Vet Online - جزئیات زیاد داره، برای دیده شدن باید بزرگتر از لوگوی قبلی باشه (دو برابر).
   کادر wrapper همون سایز لوگوی قبلی رو نگه می‌داره تا ارتفاع هدر ثابت بمونه، عکس با
   position:absolute بزرگ‌تر از کادر رندر می‌شه و رو هدر overflow می‌کنه بدون اینکه فضا بگیره. */
.brand-logo-wrap {
    position: relative;
    display: inline-block;
    width: 95px;
    height: 30px;
    vertical-align: middle;
    margin-left: -6px;
}

.brand-logo-big {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 89.6px;
    width: auto;
    max-width: none;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 700px) {
    .brand-logo-wrap {
        width: 71px;
        height: 24px;
    }
    .brand-logo-big {
        height: 67.2px;
    }
}

/* آیکون‌های PNG سفارشی - جایگزین ایموجی‌ها، متناسب با فونت اطرافشون */
.icon-img {
    height: 1.35em;
    width: auto;
    vertical-align: -0.28em;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 1.05rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--paw);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--paw);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-features-toggle {
    background: none; border: none; cursor: pointer; font-family: inherit;
    color: var(--text-dark); font-weight: 700; font-size: 1.05rem;
    display: inline-flex; align-items: center; min-height: 44px; padding: 4px 10px;
    border-radius: 8px; transition: background 0.2s ease;
}
.nav-features-toggle:hover, .nav-features-toggle.open { background: rgba(0,0,0,0.05); color: var(--paw); }

.features-menu-panel {
    display: none; max-width: 1180px; margin: 12px auto 0; padding: 20px 32px 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.features-menu-panel.open { display: block; }
.features-menu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 900px) { .features-menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-menu-grid { grid-template-columns: 1fr; } }
.features-menu-col h4 { margin: 0 0 10px; font-size: 1.02rem; font-weight: 700; color: var(--pine-deep); display: flex; align-items: center; gap: 7px; }
.features-menu-col a { display: flex; align-items: center; gap: 7px; font-size: 1.02rem; font-weight: 500; color: var(--text-dark); text-decoration: none; padding: 6px 0; }
.features-menu-col a:hover { color: var(--paw); }

/* ── بخش «درباره ما - همه‌ی امکانات سایت» در فوتر ── */
.about-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .about-features-grid { grid-template-columns: 1fr; } }
.about-features-block h3 { font-size: 1.05rem; color: var(--pine-deep); margin-bottom: 14px; }
.about-features-block ul { list-style: none; padding: 0; margin: 0; }
.about-features-block li { font-size: 0.86rem; color: #555; padding: 7px 0; border-bottom: 1px solid #eee; }
.about-features-block li:last-child { border-bottom: none; }

.nav-cta {
    display: flex;
    gap: 16px;
    flex: 1 1 100%;
}
.nav-cta .btn {
    font-size: 16.8px;
}

/* دراپ‌داون «ورود» - جایگزین ۳ دکمه‌ی جدا (ادمین/ثبت‌نام‌دامپزشک/دامپزشک) شده تا هدر شلوغ نشه */
.nav-login-dropdown {
    position: relative;
}
.nav-login-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: var(--error);
    color: white;
    font-weight: 700;
    font-size: 16.8px;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.2s ease;
}
.nav-login-toggle:hover, .nav-login-toggle.open {
    background: #DC2626;
}
.nav-login-toggle .material-symbols-outlined {
    transition: transform 0.2s ease;
}
.nav-login-toggle.open .material-symbols-outlined {
    transform: rotate(180deg);
}
.nav-login-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    min-width: 180px;
    padding: 8px;
    z-index: 60;
}
.nav-login-menu.open {
    display: block;
}
.nav-login-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}
.nav-login-menu a:hover {
    background: rgba(0,0,0,0.05);
}

/* روی موبایل، منوی «ورود» از کادر بیرون می‌زد و کل صفحه را به چپ هل می‌داد.
   علتش این بود: منو با position:absolute و right:0 به دکمه چسبیده، ولی چون min-width
   آن ۱۸۰ پیکسل است و دکمه باریک‌تر، لبه‌ی چپش تا ۹۴ پیکسل بیرون از والد می‌رفت و روی
   صفحه‌ی ۳۷۵ پیکسلی، scrollWidth را از ۳۷۵ به ۴۴۰ می‌برد.
   راه‌حل: در عرض کم، منو به لبه‌ی خودِ هدر بچسبد نه به دکمه، و از عرض صفحه پهن‌تر نشود. */
@media (max-width: 768px) {
    .nav-login-dropdown { position: static; }
    .nav-login-menu {
        right: 16px;
        left: 16px;
        min-width: 0;
        max-width: calc(100vw - 32px);
    }
}

.nav-emergency-btn {
    position: relative;
    background: #c0392b !important;
    color: white !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}
.nav-emergency-btn::after { display: none !important; }
.nav-emergency-btn:hover { background: #922b21 !important; color: white !important; }

.nav-emergency-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    right: 50%;
    transform: translateX(50%);
    background: #1f1f1f;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
    z-index: 30;
}
.nav-emergency-btn:hover::before,
.nav-emergency-btn:focus::before,
.nav-emergency-btn:active::before {
    opacity: 1;
    visibility: visible;
}
.icon-img-emergency {
    height: 2em;
    width: auto;
    display: inline-block;
    border-radius: 6px;
}

/* دکمه‌ی «ویزیت و واکسن در محل» - کنار دکمه‌ی اورژانس، با همان الگوی تولتیپ */
.nav-homevisit-btn {
    position: relative;
    background: var(--pine) !important;
    color: white !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}
.nav-homevisit-btn::after { display: none !important; }
.nav-homevisit-btn:hover { background: var(--pine-deep) !important; color: white !important; }

.nav-homevisit-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    right: 50%;
    transform: translateX(50%);
    background: #1f1f1f;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
    z-index: 30;
}
.nav-homevisit-btn:hover::before,
.nav-homevisit-btn:focus::before,
.nav-homevisit-btn:active::before {
    opacity: 1;
    visibility: visible;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    text-decoration: none;
    gap: 8px;
}

.btn:focus-visible {
    outline: 2px solid var(--paw);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--paw);
    color: white;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.btn-primary:hover {
    background: var(--paw-light);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--pine-deep);
    border: 2px solid var(--pine-deep);
}

.btn-secondary:hover {
    background: var(--pine-deep);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 61, 47, 0.2);
}

.hero-actions .btn-secondary {
    color: var(--pine-deep);
    border-color: var(--pine-deep);
}

.hero-actions .btn-secondary:hover {
    background: var(--pine-deep);
    color: #fff;
    box-shadow: 0 8px 16px rgba(15, 61, 47, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--pine);
}

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

.btn-small {
    padding: 10px 16px;
    font-size: 12px;
}

.btn-admin {
    background: var(--error);
    color: white;
}

.btn-admin:hover {
    background: #DC2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-vet {
    background: var(--paw);
    color: white;
}

.btn-vet:hover {
    background: var(--paw-light);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

/* Hero Section */
.hero {
    color: var(--ink);
    padding: 70px 32px 90px;
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: #E3EAD1 !important;
}

.hero-overlay {
    display: none;
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

.hero-badge {
    display: inline-block;
    background: #fff;
    color: var(--pine-deep);
    border: 1px solid rgba(45, 122, 104, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: fadeUp 0.8s ease both;
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 8px;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pine-deep);
}

.hero-stat span {
    font-size: 0.78rem;
    color: var(--text-gray);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    width: 100%;
    text-align: right;
}

.hero-text h1 {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.25;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease both;
    letter-spacing: -1px;
    color: var(--pine-deep);
}

.hero-text h1 em {
    font-style: normal;
    color: var(--paw);
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.85;
    margin-bottom: 12px;
    animation: fadeUp 0.8s ease 0.15s both;
    line-height: 1.6;
    color: var(--ink);
}

.hero-text p.hero-lead {
    font-weight: 700;
    font-size: clamp(1.1rem, 2.3vw, 1.4rem);
    opacity: 1;
    margin-bottom: 12px;
    color: var(--pine);
}

.hero-text p:last-of-type {
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.3s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero visual - دو عکس روی‌هم با نقطه‌چین تزئینی */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-photo-pairs {
    position: relative;
    width: 100%;
    min-height: 360px;
}

.photo-pair {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.photo-pair.active {
    opacity: 1;
    pointer-events: auto;
}

.photo-big {
    position: absolute;
    top: 0;
    left: 8%;
    width: 76%;
    aspect-ratio: 4 / 4.4;
    border-radius: 24px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 20px 45px rgba(45, 122, 104, 0.22);
    z-index: 1;
}

.photo-small {
    position: absolute;
    bottom: 0;
    left: -2%;
    width: 46%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 16px 34px rgba(45, 122, 104, 0.25);
    z-index: 2;
}

.photo-big img,
.photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dot-pattern {
    position: absolute;
    width: 84px;
    height: 84px;
    background-image: radial-gradient(var(--paw) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.35;
    z-index: 0;
}

.dot-pattern-top {
    top: -14px;
    right: 2%;
}

.dot-pattern-bottom {
    bottom: 6%;
    left: -14px;
}

.carousel-dots {
    position: relative;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Sections */
.featured-section {
    padding: 80px 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.promo-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.featured-section h2 {
    font-size: 2.2rem;
    color: var(--pine-deep);
    margin-bottom: 48px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.featured-section.alt {
    background: var(--bg-light);
}

/* فاصله‌ی زیر گرید آیکون‌ها هم کم می‌شه تا با «پرفروش‌ترین‌ها» نزدیک‌تر بشن */
.icon-grid-section {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* بخش «پرفروش‌ترین محصولات» - فاصله و پس‌زمینه‌ی کمتر، جدا از بقیه‌ی بخش‌های featured-section */
.bestseller-section {
    padding-top: 20px;
}

.featured-section.alt.bestseller-section {
    background: transparent;
}

.bestseller-section h2 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Welcome + How it works Section */
.steps-section {
    background: var(--bg-light);
    padding: 60px 32px;
}

.steps-row {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.step-card {
    flex: 1 1 0;
    min-width: 0;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-text-card {
    background: transparent;
    box-shadow: none;
    padding: 24px 16px;
}

.step-image-card {
    align-items: center;
    text-align: center;
}

.step-img {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin-bottom: 16px;
}

/* خط اسکن متحرک روی صفحه‌ی نمایش داخل عکس اول (تماس تصویری با دامپزشک) */
.step-img-frame {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.step-img-frame .step-img {
    margin-bottom: 0;
}

.step-img-frame .screen-scan-area {
    position: absolute;
    left: 2%;
    top: 4%;
    width: 78%;
    height: 52%;
    border-radius: 8%;
    overflow: hidden;
    pointer-events: none;
}

.step-img-frame .screen-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 16%;
    background: linear-gradient(to bottom, rgba(150, 190, 255, 0) 0%, rgba(180, 210, 255, 0.65) 50%, rgba(150, 190, 255, 0) 100%);
    animation: screenScanMove 2.8s linear infinite;
}

@keyframes screenScanMove {
    0% { top: -20%; }
    100% { top: 110%; }
}

@media (prefers-reduced-motion: reduce) {
    .step-img-frame .screen-scan-line {
        animation: none;
        display: none;
    }
}

/* موقعیت صفحه‌ی نمایش داخل عکس سوم (تماس تصویری با موبایل) فرق دارد */
.step-img-frame .step3-screen {
    left: 45%;
    top: 10%;
    width: 43%;
    height: 70%;
    border-radius: 6%;
}

/* شناوری ملایم عکس دوم (انتخاب محصول) */
.step-img-float {
    animation: stepImgFloat 3.4s ease-in-out infinite;
}

@keyframes stepImgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .step-img-float {
        animation: none;
    }
}

.step-title {
    color: var(--pine-deep);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-text {
    color: var(--text-gray);
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.step-text-card .mascot-eyebrow {
    font-size: 0.7rem;
    padding: 6px 12px;
    margin-bottom: 12px;
}

.step-text-card .mascot-title {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.step-text-card .mascot-sub {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: none;
}

.step-text-card .mascot-points {
    gap: 8px;
}

.step-text-card .mascot-points li {
    font-size: 0.78rem;
    gap: 8px;
}

.step-text-card .mascot-points .point-icon {
    font-size: 1rem;
}

@media (max-width: 640px) {
    .step-card {
        flex: 1 1 100%;
    }
}

.mascot-section-plain {
    background: var(--bg-white);
    padding: 80px 32px;
}

.mascot-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.mascot-copy {
    flex: 1 1 400px;
    min-width: 300px;
}

.mascot-visual {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
    min-width: 260px;
    position: relative;
}

.mascot-visual svg {
    width: 100%;
    max-width: 340px;
    height: auto;
    overflow: visible;
}

.mascot-eyebrow {
    display: inline-block;
    color: var(--paw);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(217, 119, 6, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mascot-title {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 800;
    color: var(--pine-deep);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.mascot-sub {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.mascot-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mascot-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.mascot-points .point-icon {
    font-size: 1.3rem;
    color: var(--paw);
    flex-shrink: 0;
}

.cat-paw {
    transform-box: fill-box;
    animation: lickPaw 0.9s ease-in-out infinite alternate;
}

@keyframes lickPaw {
    from { transform: rotate(0deg) translateY(0); }
    to   { transform: rotate(-10deg) translateY(4px); }
}

.parrot-head {
    transform-box: fill-box;
    animation: preen 1.4s ease-in-out infinite alternate;
}

@keyframes preen {
    from { transform: rotate(0deg) translate(0, 0); }
    to   { transform: rotate(22deg) translate(-8px, 10px); }
}

.paw-float {
    fill: var(--pine);
    opacity: 0.28;
    animation: floatUp 3.2s ease-in-out infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(6px); opacity: 0; }
    25%  { opacity: 0.32; }
    70%  { opacity: 0.18; }
    100% { transform: translateY(-38px); opacity: 0; }
}

/* چگونه کار می‌کند - Steps */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.steps-col-title {
    color: var(--pine-deep);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.steps-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.steps-list li:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pine-deep);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.steps-list li strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
}

.steps-list li p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* سوالات متداول - FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 0;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--paw);
    margin-inline-start: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-bottom: 20px;
    margin: 0;
    line-height: 1.7;
}

/* آخرین مطالب (صفحه اصلی) */
.latest-articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.latest-article-item {
    display: block;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.latest-article-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.latest-article-item img {
    display: block;
    width: calc(100% + 40px);
    height: 160px;
    object-fit: cover;
    margin: -20px -20px 12px -20px;
    border-radius: 12px 12px 0 0;
}

.latest-article-item strong {
    display: block;
    color: var(--pine-deep);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.latest-article-item p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ابزارهای AI - صفحه اصلی */
.ai-tools-disclaimer {
    text-align: center;
    background: var(--sand-light, #fdecd8);
    color: var(--paw-deep, #d97e3a);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.85rem;
    max-width: 700px;
    margin: -10px auto 24px;
}

/* دو ستون: صاحب حیوان سمت راست، دامپزشکان سمت چپ.
   چون صفحه RTL است، اولین ستون در HTML سمت راست می‌افتد؛ برای همین ستون دامپزشک
   با order در سمت چپ قرار می‌گیرد. */
.ai-tools-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.ai-tools-col-owner { order: 1; }
.ai-tools-col-vet { order: 2; }

.ai-tools-col {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ai-tools-col-title {
    font-size: 0.92rem;
    color: var(--pine-deep);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.ai-tools-col-note {
    margin-top: 12px;
    font-size: 0.74rem;
    color: var(--text-gray);
}

/* چیدمان عمودی دکمه‌ها داخل هر ستون */
.ai-tools-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-tool-btn {
    display: block;
    background: var(--bg-white);
    color: var(--pine-deep);
    border: 2px solid var(--warning);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.ai-tool-btn:hover {
    background: var(--warning);
    color: white;
}

/* ابزارهای دامپزشکان با رنگ متفاوت تا با ابزارهای عمومی اشتباه نشوند */
.ai-tool-btn-vet {
    border-color: var(--pine-deep);
}

.ai-tool-btn-vet:hover {
    background: var(--pine-deep);
    color: white;
}

@media (max-width: 760px) {
    .ai-tools-columns { grid-template-columns: 1fr; }
}

/* متن‌های معرفی صفحات (پت‌شاپ، ویزیت آنلاین) */
.page-eyebrow {
    display: inline-block;
    color: var(--paw);
    font-weight: 700;
    font-size: 0.8rem;
    background: rgba(217, 119, 6, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-intro {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 780px;
    margin-bottom: 16px;
    font-weight: 500;
}

.page-intro-sub {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 780px;
    margin-bottom: 28px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 32px;
}

.benefits-list li {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* هدر روی عرض‌های متوسط دسکتاپ (لپ‌تاپ‌های معمولی، ۱۳۶۶-۱۴۴۰px) - قبل از رسیدن به breakpoint موبایل،
   آیتم‌های nav-links جمع‌تر و کوچیک‌تر می‌شن تا کنار لوگو جا بشن و شکسته نریزن زیر لوگو */
@media (max-width: 1500px) {
    .nav-links { gap: 12px; font-size: 0.92rem; }
    .nav-features-toggle { font-size: 0.92rem; padding: 4px 6px; }
    .nav-links .icon-img, .nav-features-toggle .icon-img { height: 1.1em; }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .promo-card {
        width: 100%;
        flex-basis: 100%;
    }

    .nav {
        padding: 0 24px;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 60px 24px;
        min-height: 450px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .mascot-grid {
        gap: 40px;
    }

    .steps-row {
        flex-wrap: wrap;
    }

    .step-card {
        flex: 1 1 45%;
    }

    .featured-section {
        padding: 60px 24px;
    }

    .featured-section h2 {
        font-size: 1.8rem;
        margin-bottom: 36px;
    }

    .grid-products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }
}

/* Scroll-reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Grid Products */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-image .placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.product-card h4 {
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 16px 16px 0;
}

.product-card .category {
    font-size: 0.8rem;
    color: var(--paw);
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--pine-deep);
    margin: 12px 0;
    padding: 0 16px;
}

.product-card .pet-type {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 8px 0 16px;
    padding: 0 16px;
}

.product-card .description {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0 0 10px;
    padding: 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Grid Vets */
.grid-vets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

/* ردیف چرخشی خودکار دامپزشکان - صفحه‌ی اصلی (حرکت نرم و پیوسته راست به چپ) */
.vets-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.vets-carousel {
    display: flex;
    gap: 18px;
    padding-bottom: 10px;
    width: max-content;
    will-change: transform;
}

.vets-carousel .vet-card {
    flex: 0 0 270px;
}

/* ردیف چرخشی خودکار محصولات - صفحه‌ی اصلی (حرکت نرم و پیوسته راست به چپ) */
.products-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.products-carousel {
    display: flex;
    gap: 16px;
    padding-bottom: 10px;
    width: max-content;
    will-change: transform;
}

.products-carousel .product-card-small {
    flex: 0 0 260px;
}

/* فاصله‌ی چرخش دقیقاً با جاوااسکریپت محاسبه می‌شود (--marquee-step) تا حتی با تعداد کم آیتم هم سر و ته وصل بمانند */
.vets-carousel.marquee-run,
.products-carousel.marquee-run {
    animation-name: marquee-scroll-dynamic;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.vets-carousel.marquee-run:hover,
.products-carousel.marquee-run:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll-dynamic {
    from { transform: translateX(var(--marquee-step, 0)); }
    to { transform: translateX(0); }
}

.product-card-small .product-image {
    height: 210px;
}

.product-card-small h4 {
    font-size: 0.95rem;
    padding-top: 10px;
}

.product-card-small .category {
    margin-bottom: 6px;
}

.product-card-small .description {
    margin: 0 0 6px;
}

.product-card-small .price {
    margin: 8px 0;
}

/* کارت‌های تبلیغاتی رنگی - انتخاب دستی ادمین */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .promo-grid { grid-template-columns: 1fr; }
}

.promo-card {
    position: relative;
    display: block;
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* فقط برای حالتی که محصول تبلیغ‌شده اصلاً عکسی نداره (بک‌آپ، نه رنگ پیش‌فرض) */
.promo-card-fallback {
    background: var(--pine);
}

.promo-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card-text {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.15) 65%, transparent 100%);
}

.promo-card-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.promo-card-label {
    font-size: 0.78rem;
    opacity: 0.9;
    margin-bottom: 2px;
}

.promo-card-price {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.promo-card-cta {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
}

/* گرید دسته‌بندی‌های صفحه اصلی - فقط آیکون + متن ساده، بدون قاب/کارت */
.category-icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding-bottom: 6px;
}
.category-icon-grid + .category-icon-grid {
    margin-top: 20px;
}

.cat-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.18s ease;
    flex: 0 0 auto;
}

.cat-icon-item:hover {
    transform: translateY(-3px);
}

.cat-icon-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
}

.cat-icon-item span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.vet-card {
    background: #171922;
    border-radius: 14px;
    padding: 18px;
    padding-top: 22px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--vet-accent, #3d7bfa);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.vet-image {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--vet-accent, #3d7bfa);
    flex-shrink: 0;
}

.vet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vet-image .placeholder-icon {
    font-size: 1.8rem;
    opacity: 0.3;
}

.vet-card h4 {
    color: #f1f2f6;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.vet-card .specialty {
    color: var(--vet-accent, #3d7bfa);
    font-weight: 600;
    margin: 2px 0 0;
    font-size: 0.68rem;
    line-height: 1.1;
}

.vet-card p {
    font-size: 0.85rem;
    color: #b6bac6;
    margin: 0;
    line-height: 1.3;
}

.vet-rating {
    text-align: center;
    margin: 4px 0;
}

.vet-rating .stars {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f5c518;
}

.vet-fees {
    font-size: 0.66rem;
    color: #b6bac6;
    text-align: center;
    margin: 2px 0 0;
    line-height: 1.2;
}

.vet-address {
    font-size: 0.66rem;
    color: #7c8090;
    text-align: center;
    padding: 0 6px;
    margin: 2px 0 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* کارت عکس‌محور دامپزشک - عکس تمام کارت رو پر می‌کنه، بقیه‌ی موارد روش می‌شینن */
.vet-card-photo {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center top;
    background-color: #171922;
    padding: 0;
    text-align: initial;
    overflow: hidden;
}
.vet-card-photo-link { position: absolute; inset: 0; z-index: 1; }
.vet-card-avatar {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
    border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
}
.vet-card-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.vet-card-rating {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: rgba(0,0,0,0.55); color: #f5c518; font-size: 0.78rem; font-weight: 700;
    padding: 4px 9px; border-radius: 20px; display: flex; align-items: center; gap: 3px;
}
/* کادر پایین: نوشته‌ها روی زمینه‌ی سفید (نه روی عکس) تا خوانا بمانند */
.vet-card-bottom { position: absolute; right: 0; left: 0; bottom: 0; z-index: 2; }
.vet-card-info {
    background: rgba(255,255,255,0.97); padding: 6px 10px 5px; text-align: center;
}
.vet-card-info h4 { margin: 0; }
.vet-card-info h4 a { color: #1a1a1a; text-decoration: none; font-size: 0.8rem; font-weight: 700; }
.vet-card-photo .specialty { color: var(--vet-accent, #2f63d6); }
.vet-card-photo .vet-address, .vet-card-photo .vet-fees { color: #555; }
.vet-card-photo .vet-actions {
    padding: 8px; margin: 0; background: rgba(0,0,0,0.35);
}

.fee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.fee-item span {
    font-weight: 600;
}

.vet-actions {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.btn-small {
    display: inline-block;
    padding: 4px 8px;
    background: var(--paw);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-small:hover {
    background: var(--paw-deep);
    transform: scale(1.05);
}

/* فقط تو صفحه‌ی اصلی، دکمه‌ی «مشاهده در فروشگاه» بزرگ‌تر بشه تا لمسش راحت‌تر باشه - پنل ادمین دست‌نخورده می‌ماند */
.bestseller-section .btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* Shop Section */
.shop-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 32px;
}

.shop-section h1 {
    color: var(--pine-deep);
    margin-bottom: 48px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Vets Section */
.vets-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 32px;
}

.vets-section h1 {
    color: var(--pine-deep);
    margin-bottom: 48px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Appointment Section */
.appointment-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 32px;
}

.appointment-section h1 {
    color: var(--pine-deep);
    margin-bottom: 48px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Footer */
footer {
    background: var(--pine-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 32px 40px;
    text-align: center;
    margin-top: auto;
}


footer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

footer a {
    color: var(--paw-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .grid-products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .grid-vets {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* Utility Classes */
.wrap {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 900px) {
    .wrap { padding: 0 16px; }
}

.page-info {
    padding: 14px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination a,
.pagination button {
    padding: 10px 14px;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination a:hover,
.pagination button:hover {
    background: var(--paw);
    color: white;
    border-color: var(--paw);
}

.pagination .active {
    background: var(--pine-deep);
    color: white;
    border-color: var(--pine-deep);
}

/* بخش واگذاری حیوانات - صفحه اصلی و صفحه‌ی اختصاصی */
.adoption-section {
    background: var(--mint);
    padding: 60px 32px;
}

.adoption-section h2 {
    text-align: center;
}

.adoption-page-header {
    text-align: center;
}

.adoption-sub {
    color: #5a6b64;
    font-size: 0.92rem;
    margin-top: -10px;
    margin-bottom: 24px;
    text-align: center;
}

/* بنر تبلیغاتی پرونده دیجیتال حیوان خانگی - بین واگذاری و ابزارهای AI */
.promo-banner-section {
    padding: 30px 32px;
}

.promo-banner-img {
    display: block;
    width: 85%;
    max-width: 950px;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.adoption-grid,
.adoption-page-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 10px;
}

.adoption-page-grid {
    margin-bottom: 32px;
}

.adoption-card {
    display: block;
    background: white;
    border: 2px solid var(--paw);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    flex: 0 0 130px;
    width: 130px;
    text-decoration: none;
    color: inherit;
}

.adoption-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.adoption-card-image {
    position: relative;
    width: 100%;
    height: 150px;
    background: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.adoption-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adoption-card-image .placeholder-icon {
    font-size: 2.6rem;
    opacity: 0.35;
}

.adoption-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--paw);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.adoption-card-body {
    padding: 3px 8px 6px;
}

.adoption-card-body h4 {
    color: var(--pine);
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-align: center;
}

.adoption-breed {
    color: #888;
    font-weight: 500;
    font-size: 0.68rem;
}

.pet-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.66rem;
    color: #777;
    padding: 2px 0;
    border-bottom: 1px dashed #eee;
}

.pet-meta-row strong {
    color: var(--ink);
    font-weight: 700;
}

.btn-adopt {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 12px;
    background: var(--paw);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    transition: background 0.18s;
}

.btn-adopt:hover {
    background: var(--paw-deep);
}

/* ======================================================================
   هیروی سبک Stitch - واریانت رنگ سبز جنگلی و طلایی
   مرجع دقیق: Stitch screen 0fb7a9ff7ac84ec1bcc0d9321d81dd53
   "دامپزشک آنلاین - واریانت رنگ (سبز جنگلی و طلایی)"
   جایگزین هیروی نارنجی قبلی (.hero) در صفحه اصلی شده است
   ====================================================================== */
.stitch-hero-green {
    --sh-primary: #a04100;
    --sh-primary-container: #ff6b00;
    --sh-on-primary: #ffffff;
    --sh-on-primary-container: #ffffff;
    --sh-primary-fixed: #ffdbcc;
    --sh-primary-fixed-dim: #ffb693;
    --sh-on-primary-fixed: #351000;
    --sh-background: #fff8f3;
    --sh-on-background: #1f1b15;
    --sh-surface: #fff8f3;
    --sh-surface-container-lowest: #ffffff;
    --sh-surface-container-high: #f0e7dd;
    --sh-surface-variant: #eae1d7;
    --sh-on-surface: #1f1b15;
    --sh-on-surface-variant: #5a4136;
    --sh-outline: #8e7164;
    --sh-error: #ba1a1a;

    --sh-margin-mobile: 8px;
    --sh-margin-desktop: 40px;
    --sh-xs: 4px;
    --sh-base: 8px;
    --sh-sm: 12px;
    --sh-md: 24px;
    --sh-lg: 40px;
    --sh-xl: 64px;
    --sh-gutter: 20px;

    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    background: var(--sh-background);
    color: var(--sh-on-background);
    width: 100%;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 64px;
    padding-left: var(--sh-margin-mobile);
    padding-right: var(--sh-margin-mobile);
}
@media (min-width: 768px) {
    .stitch-hero-green {
        padding-left: var(--sh-margin-desktop);
        padding-right: var(--sh-margin-desktop);
    }
}

.sh-blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; mix-blend-mode: multiply; }
.sh-blob-1 { top: -10%; right: -5%; width: 384px; height: 384px; background: var(--sh-primary-fixed-dim); opacity: .4; animation: shPulse 3s ease-in-out infinite; }
.sh-blob-2 { bottom: -10%; left: -5%; width: 500px; height: 500px; background: var(--sh-primary-container); opacity: .2; filter: blur(120px); }
@keyframes shPulse { 0%, 100% { opacity: .4; } 50% { opacity: .2; } }

.sh-grid {
    position: relative;
    z-index: 10;
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sh-xl);
    align-items: center;
}
@media (min-width: 992px) {
    .sh-grid { grid-template-columns: 1fr 1fr; }
}

.sh-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: var(--sh-md);
    order: 2;
}
@media (min-width: 992px) { .sh-content { order: 1; } }

.sh-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sh-base);
    background: var(--sh-surface-container-high);
    padding: 6px var(--sh-md);
    border-radius: 9999px;
    border: 1px solid var(--sh-surface-variant);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: var(--sh-base);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--sh-on-surface-variant);
}
.sh-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sh-primary); animation: shDotPulse 2s infinite; flex-shrink: 0; }
@keyframes shDotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.sh-headline {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sh-on-background);
    margin: 0;
    max-width: 640px;
    font-size: 36px;
    line-height: 42px;
}
@media (min-width: 768px) {
    .sh-headline { font-size: 46px; line-height: 54px; max-width: none; }
}

.sh-subtitle {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: var(--sh-primary);
    margin: 0;
    max-width: 500px;
}

.sh-lead {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--sh-on-surface-variant);
    margin: 0;
    max-width: 550px;
}

.sh-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 32px;
}
@media (min-width: 480px) {
    .sh-cta-grid { grid-template-columns: repeat(3, 1fr); }
}

.sh-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sh-sm);
    padding: var(--sh-md);
    border-radius: 12px;
    text-decoration: none;
    color: var(--sh-on-surface);
    background: var(--sh-surface-container-lowest);
    border: 1px solid var(--sh-surface-variant);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.sh-cta:hover { transform: translateY(-4px); border-color: var(--sh-primary); }
/* حالت «به‌زودی»: همان شکل کارت، ولی خاموش - کاربر می‌بیند این بخش وجود دارد و هنوز باز نشده،
   به‌جای اینکه روی لینکی بزند و به صفحه‌ی خالی برسد. */
.sh-cta-soon { cursor: pointer; opacity: .85; }
.sh-cta-soon:hover { opacity: 1; transform: translateY(-4px); border-color: var(--sh-primary-container); }

/* آیتم اطلاع‌رسانی داخل هدر - برای باخبر شدن از راه‌اندازی پت‌شاپ */
.nav-soon {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: .75;
    transition: opacity .2s ease, color .2s ease;
}
.nav-soon:hover { opacity: 1; color: var(--paw); }
.sh-cta-label { font-size: 13px; line-height: 18px; font-weight: 600; text-align: center; }

.sh-cta-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--sh-surface-container-high);
    color: var(--sh-primary);
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s ease;
}
.sh-cta:hover .sh-cta-icon { transform: scale(1.1); }
.sh-cta-icon .icon-img { width: 22px; height: 22px; }

.sh-cta-primary {
    background: var(--sh-primary);
    color: var(--sh-on-primary);
    border-color: var(--sh-primary);
    box-shadow: 0 4px 14px rgba(160, 65, 0, 0.22);
}
.sh-cta-primary:hover { background: var(--sh-primary-container); color: var(--sh-on-primary-container); border-color: var(--sh-primary-container); }
.sh-cta-primary .sh-cta-icon { background: rgba(255,255,255,0.2); color: inherit; }

.sh-cta-wide { grid-column: span 2; }
@media (min-width: 480px) { .sh-cta-wide { grid-column: span 1; } }

.sh-cta-danger {
    background: #c0392b;
    color: white;
    border-color: #c0392b;
}
.sh-cta-danger:hover { background: #922b21; color: white; border-color: #922b21; }
.sh-cta-danger .sh-cta-icon, .sh-cta-danger .sh-cta-icon-danger { background: rgba(255,255,255,0.2); color: inherit; }

.sh-visual {
    position: relative;
    width: 100%;
    height: 580px;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 992px) { .sh-visual { order: 2; height: 760px; } }

.sh-image-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    overflow: hidden;
    background: var(--sh-surface-container-lowest);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    z-index: 10;
    padding: 8px;
}
.sh-image-inner { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; position: relative; }
.sh-image-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); z-index: 5; }

.sh-photo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.sh-photo-slide.active { opacity: 1; }
.sh-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 8px;
}
.sh-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.sh-dot.active { background: #ffffff; transform: scale(1.2); }

.sh-stat {
    position: absolute;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: var(--sh-md);
    background: var(--sh-surface-container-lowest);
    border: 1px solid var(--sh-surface-variant);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.sh-stat-icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sh-stat-icon .icon-img,
.sh-stat-icon .ico { width: 26px; height: 26px; }
.sh-stat-icon-gold { background: var(--sh-primary-container); color: var(--sh-on-primary-container); }
.sh-stat-icon-mint { background: var(--sh-primary-fixed); color: var(--sh-on-primary-fixed); }
.sh-stat-icon-orange { background: #ff6b00; color: #ffffff; }

.sh-stat-text { text-align: right; }
.sh-stat-value { margin: 0; font-size: 19px; line-height: 22px; font-weight: 700; color: var(--sh-primary); }
.sh-stat-label { margin: 4px 0 0; font-size: 14px; line-height: 19px; font-weight: 600; color: var(--sh-on-surface-variant); }
.sh-stat-rating { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.sh-stat-rating .icon-img { width: 16px; height: 16px; }

.sh-stat-1 { top: 20%; right: -16px; animation: shBounce 4s infinite; }
.sh-stat-2 { bottom: 25%; left: -16px; animation: shBounce 5s infinite .5s; }
.sh-stat-3 { bottom: 16px; right: 40px; animation: shBounce 6s infinite 1s; }
@media (min-width: 768px) {
    .sh-stat-1 { right: -32px; }
    .sh-stat-2 { left: -48px; }
}
@keyframes shBounce {
    0%, 100% { transform: translateY(-6%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@media (max-width: 560px) {
    .sh-stat { padding: var(--sh-sm); gap: var(--sh-sm); }
    .sh-stat-1 { right: 0; }
    .sh-stat-2 { left: 0; }
    .sh-stat-3 { right: 0; }
}

/* ======================================================================
   بخش مسیرهای کاربری (چهار گروه اصلی) - سبک Stitch
   مرجع دقیق: Stitch screen fe089ade37224c1c86d52f1a224b1ccb
   ====================================================================== */
.up-section { padding: 64px 0; background: #fdf8f3; }
.up-header { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.up-header h2 { font-size: 28px; font-weight: 800; color: var(--text-dark); margin: 0 0 10px; }
.up-header p { font-size: 16px; color: #6b7280; margin: 0; }

.up-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 992px) { .up-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .up-grid { grid-template-columns: 1fr; } }

.up-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.up-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }

.up-card-img { width: 100%; aspect-ratio: 4 / 3.2; overflow: hidden; }
.up-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.up-card-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.up-card-title { margin: 0; font-size: 21px; font-weight: 800; }
.up-title-green { color: var(--pine-deep); }
.up-title-orange { color: var(--paw-deep); }

.up-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.up-card-list li { display: flex; align-items: center; gap: 9px; font-size: 16px; color: #4b5563; }
.up-check-green { color: var(--pine); }
.up-check-orange { color: var(--paw); }

.up-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all .18s ease;
}
.up-btn-outline-green { background: transparent; color: var(--pine-deep); border: 1.5px solid var(--pine-deep); }
.up-btn-outline-green:hover { background: var(--pine-deep); color: #fff; }
.up-btn-fill-orange { background: var(--paw); color: #fff; border: 1.5px solid var(--paw); }
.up-btn-fill-orange:hover { background: var(--paw-deep); border-color: var(--paw-deep); }

/* ======================================================================
   دامپزشکان آنلاین - سبک Stitch (سبز/سفید، کارت‌های آواتار گرد)
   مرجع دقیق: Stitch screen 857e4bc2a4f942b5a0016fae510dba4e
   ====================================================================== */
.dv-section { padding: 64px 0; background: #fdf8f3; }
.dv-title { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 28px; font-weight: 800; color: var(--text-dark); margin: 0 0 10px; }
.dv-title-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pine); flex-shrink: 0; }
.dv-subtitle { text-align: center; color: #6b7280; font-size: 16px; margin: 0 0 36px; }

.dv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .dv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dv-grid { grid-template-columns: 1fr; } }

.dv-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px 18px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.dv-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }

.dv-online-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--pine);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.dv-avatar {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 14px;
    background-color: var(--surface-alt, #eee);
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.dv-name { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.dv-name a { color: var(--text-dark); text-decoration: none; }
.dv-specialty { margin: 0 0 14px; font-size: 14px; color: #8a8f98; }

.dv-fees {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
    font-weight: 600;
}
.dv-fees .icon-img { width: 15px; height: 15px; }

.dv-actions { display: flex; gap: 8px; }
.dv-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .15s ease;
}
.dv-btn-teal { background: transparent; border-color: var(--pine); }
.dv-btn-teal .icon-img { filter: invert(38%) sepia(38%) saturate(500%) hue-rotate(120deg); width: 16px; height: 16px; }
.dv-btn-teal:hover { background: var(--pine); }
.dv-btn-teal:hover .icon-img { filter: brightness(0) invert(1); }
.dv-btn-gray { background: transparent; border-color: #d1d5db; }
.dv-btn-gray .icon-img { width: 16px; height: 16px; opacity: .65; }
.dv-btn-gray:hover { background: #f3f4f6; }
.dv-btn-orange { background: var(--paw); color: #fff; border-color: var(--paw); }
.dv-btn-orange:hover { background: var(--paw-deep); border-color: var(--paw-deep); }

.dv-btn-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1.5px solid var(--pine);
    color: var(--pine-deep);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .18s ease;
}
.dv-btn-all:hover { background: var(--pine); color: #fff; }
