/* ================================================================
   puppies-service.css — 幼犬相关页面共用样式表
   
   加载页面：
     - /puppies/              (page-puppies.php)      命名空间: .puppy-page
     - /services/puppies-guide/ (service-detail.php)  命名空间: .puppies-page
     - 幼犬归档页             (archive-puppy.php)     命名空间: .puppy-page

   文件结构：
     【区段A】选购指南页专属样式 (.puppies-page)    — 第1~850行
     【区段B】幼犬页面公共样式 (.puppy-page)        — 第851行起
       B-1: CSS变量与页面头部
       B-2: 幼犬卡片网格与筛选
       B-3: 品种指南卡片 (breed-guide)
       B-4: 保障条 (guarantee)
       B-5: 幼犬详情弹窗 (modal)
       B-6: 选购指南区块 (puppies-breed-guide)
       B-7: 动画
     【区段C】页面定制化样式                      — 文件末尾

   定制化说明：
     如需某个页面样式与其他页面不同，在【区段C】中编写覆盖样式，
     使用页面专属class作为前缀：
       .puppy-shop-page    — 幼犬选购页 (page-puppies.php)
       .puppy-archive-page — 幼犬归档页 (archive-puppy.php)
     示例：
       .puppy-shop-page .puppy-card { border-radius: 2rem; }
   ================================================================ */

/* ================================================================
   【区段A】选购指南页专属样式
   命名空间: .puppies-page
   使用页面: /services/puppies-guide/ (service-detail.php)
   ================================================================ */

/* Base styles */
.puppies-page * {
    box-sizing: border-box;
}

.puppies-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #7A5230;
}

/* =========================================
   Hero Section - 与导航栏 container 对齐
   ========================================= */
.puppies-page .puppies-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .puppies-page .puppies-hero {
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .puppies-page .puppies-hero {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .puppies-page .puppies-hero {
        padding: 8rem 0;
    }
}

.puppies-page .puppies-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.puppies-page .puppies-hero-bg-circle-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(245, 166, 35, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}

.puppies-page .puppies-hero-bg-circle-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.puppies-page .puppies-hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
}

.puppies-page .puppies-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 24px;
    background: linear-gradient(to right, #F5A623, #E08C0A);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    border: 0;
    box-shadow: rgba(245, 166, 35, 0.4) 0px 4px 12px -2px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-30px);
    animation: puppiesHeroBadgeIn 0.6s ease-out 0.2s forwards;
}

@keyframes puppiesHeroBadgeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.puppies-page .puppies-hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #3D2000;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(30px);
    animation: puppiesHeroTitleIn 0.7s ease-out 0.35s forwards;
}

@keyframes puppiesHeroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 640px) {
    .puppies-page .puppies-hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .puppies-page .puppies-hero-title {
        font-size: 3rem;
    }
}

.puppies-page .puppies-hero-title .gradient-text {
    background: linear-gradient(135deg, #F5A623, #F5A623, #C8956C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.puppies-page .puppies-hero-subtitle {
    margin-top: 1rem;
    color: rgba(139, 94, 60, 0.7);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 48rem;
    opacity: 0;
    transform: translateY(20px);
    animation: puppiesHeroSubtitleIn 0.6s ease-out 0.5s forwards;
}

@keyframes puppiesHeroSubtitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.puppies-page .puppies-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: puppiesHeroButtonsIn 0.6s ease-out 0.65s forwards;
}

@keyframes puppiesHeroButtonsIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.puppies-page .puppies-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 1rem;
    background: linear-gradient(to right, #F5A623, #F5A623);
    color: white;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(245, 166, 35, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.puppies-page .puppies-hero-btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(245, 166, 35, 0.4);
    transform: translateY(-2px);
}

.puppies-page .puppies-hero-btn-primary svg {
    width: 1rem;
    height: 1rem;
}

.puppies-page .puppies-hero-btn-primary .arrow {
    transition: transform 0.3s ease;
}

.puppies-page .puppies-hero-btn-primary:hover .arrow {
    transform: translateX(4px);
}

.puppies-page .puppies-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 1rem;
    border: 2px solid #F5A623;
    color: #C8956C;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.puppies-page .puppies-hero-btn-secondary:hover {
    background: #FFF9F5;
}

.puppies-page .puppies-hero-btn-secondary svg {
    width: 1rem;
    height: 1rem;
}

/* =========================================
   Trust Pillars Section - 滚动动画
   ========================================= */
.puppies-page .puppies-section {
    padding: 0 0 4rem;
}

@media (min-width: 640px) {
    .puppies-page .puppies-section {
        padding: 0 0 4rem;
    }
}

@media (min-width: 1024px) {
    .puppies-page .puppies-section {
        padding: 0 0 4rem;
    }
}

.puppies-page .puppies-section-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.puppies-page .puppies-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3D2000;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.puppies-page .puppies-section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    .puppies-page .puppies-section-title {
        font-size: 1.875rem;
    }
}

.puppies-page .puppies-section-desc {
    color: rgba(139, 94, 60, 0.6);
    margin-bottom: 2rem;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.08s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

.puppies-page .puppies-section-desc.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.puppies-page .puppies-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .puppies-page .puppies-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .puppies-page .puppies-pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.puppies-page .puppies-pillar-card {
    border-radius: 1rem;
    background: white;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    box-shadow: var(--tw-shadow);
    height: 100%;
    transition: box-shadow 0.3s ease,
                opacity 0.6s ease-out;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    overflow: hidden;
}

.puppies-page .puppies-pillar-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.puppies-page .puppies-pillar-card:nth-child(1).animate-in { transition-delay: 0s; }
.puppies-page .puppies-pillar-card:nth-child(2).animate-in { transition-delay: 0.12s; }
.puppies-page .puppies-pillar-card:nth-child(3).animate-in { transition-delay: 0.24s; }
.puppies-page .puppies-pillar-card:nth-child(4).animate-in { transition-delay: 0.36s; }
.puppies-page .puppies-pillar-card:nth-child(5).animate-in { transition-delay: 0.48s; }
.puppies-page .puppies-pillar-card:nth-child(6).animate-in { transition-delay: 0.6s; }

.puppies-page .puppies-pillar-card:hover {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    box-shadow: var(--tw-shadow);
}

.puppies-page .puppies-pillar-card-inner {
    padding: 1.5rem;
}

.puppies-page .puppies-pillar-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, #F5A623, #F5A623);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.puppies-page .puppies-pillar-card:hover .puppies-pillar-icon {
    transform: scale(1.1) rotate(-5deg);
}

.puppies-page .puppies-pillar-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.puppies-page .puppies-pillar-title {
    font-weight: 700;
    color: #3D2000;
    margin-bottom: 0.5rem;
}

.puppies-page .puppies-pillar-desc {
    color: rgba(139, 94, 60, 0.6);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* =========================================
   Source & Quality Section - 滚动动画
   ========================================= */
.puppies-page .puppies-quality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: stretch;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out,
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.puppies-page .puppies-quality-grid.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .puppies-page .puppies-quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.puppies-page .puppies-quality-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    align-self: center;
}

.puppies-page .puppies-quality-image:hover {
    transform: scale(1.02);
}

.puppies-page .puppies-quality-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.puppies-page .puppies-quality-image:hover img {
    transform: scale(1.05);
}

.puppies-page .puppies-quality-text {
    max-width: 100%;
}

.puppies-page .puppies-quality-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3D2000;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .puppies-page .puppies-quality-text h2 {
        font-size: 1.875rem;
    }
}

.puppies-page .puppies-quality-text p {
    color: rgba(139, 94, 60, 0.7);
    line-height: 1.75;
}

/* =========================================
   Guarantee Section - 交错动画
   ========================================= */
.puppies-page .puppies-guarantee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .puppies-page .puppies-guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.puppies-page .puppies-guarantee-card {
    border-radius: 1rem;
    background: linear-gradient(to right, #FFF9F5, rgba(245, 166, 35, 0.1));
    border: 1px solid rgba(245, 166, 35, 0.5);
    padding: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                opacity 0.6s ease-out;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.puppies-page .puppies-guarantee-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.puppies-page .puppies-guarantee-card:nth-child(1).animate-in { transition-delay: 0s; }
.puppies-page .puppies-guarantee-card:nth-child(2).animate-in { transition-delay: 0.12s; }
.puppies-page .puppies-guarantee-card:nth-child(3).animate-in { transition-delay: 0.24s; }
.puppies-page .puppies-guarantee-card:nth-child(4).animate-in { transition-delay: 0.36s; }

.puppies-page .puppies-guarantee-card:hover {
    box-shadow: 0 10px 15px -3px rgba(245, 166, 35, 0.15);
    transform: translateY(-4px) scale(1.02);
}

.puppies-page .puppies-guarantee-card h3 {
    font-weight: 700;
    color: #3D2000;
    margin-bottom: 0.5rem;
}

.puppies-page .puppies-guarantee-card p {
    color: rgba(139, 94, 60, 0.6);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* =========================================
   Purchase Guide Section - 交错动画
   ========================================= */
.puppies-page .puppies-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .puppies-page .puppies-guide-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.puppies-page .puppies-guide-card {
    border-radius: 1rem;
    background: white;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    box-shadow: var(--tw-shadow);
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                opacity 0.6s ease-out;
    opacity: 0;
    transform: translateY(40px) scale(0.94);
}

.puppies-page .puppies-guide-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.puppies-page .puppies-guide-card:nth-child(1).animate-in { transition-delay: 0s; }
.puppies-page .puppies-guide-card:nth-child(2).animate-in { transition-delay: 0.08s; }
.puppies-page .puppies-guide-card:nth-child(3).animate-in { transition-delay: 0.16s; }
.puppies-page .puppies-guide-card:nth-child(4).animate-in { transition-delay: 0.24s; }
.puppies-page .puppies-guide-card:nth-child(5).animate-in { transition-delay: 0.32s; }
.puppies-page .puppies-guide-card:nth-child(6).animate-in { transition-delay: 0.4s; }

.puppies-page .puppies-guide-card:hover {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    box-shadow: var(--tw-shadow);
    transition-delay: 0s;
}

.puppies-page .puppies-guide-card-inner {
    padding: 1.25rem;
    text-align: center;
}

.puppies-page .puppies-guide-step {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #F5A623, #F5A623);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}



.puppies-page .puppies-guide-title {
    font-weight: 700;
    color: #3D2000;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.puppies-page .puppies-guide-desc {
    color: rgba(200, 149, 108, 0.6);
    font-size: 0.75rem;
}

/* =========================================
   FAQ Section - 动画
   ========================================= */
.puppies-page .puppies-faq-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3D2000;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.puppies-page .puppies-faq-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    .puppies-page .puppies-faq-title {
        font-size: 1.875rem;
    }
}

.puppies-page .puppies-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.puppies-page .puppies-faq-item {
    border-radius: 1rem;
    border: 1px solid rgba(240, 220, 200, 0.6);
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.puppies-page .puppies-faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.puppies-page .puppies-faq-item:nth-child(1).animate-in { transition-delay: 0s; }
.puppies-page .puppies-faq-item:nth-child(2).animate-in { transition-delay: 0.08s; }
.puppies-page .puppies-faq-item:nth-child(3).animate-in { transition-delay: 0.16s; }
.puppies-page .puppies-faq-item:nth-child(4).animate-in { transition-delay: 0.24s; }

.puppies-page .puppies-faq-item:hover {
    border-color: rgba(240, 220, 200, 0.85);
    box-shadow: 0 4px 12px -4px rgba(245, 166, 35, 0.08);
}

.puppies-page .puppies-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #7A5230;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.puppies-page .puppies-faq-question:hover {
    background: rgba(255, 249, 245, 0.6);
    color: #8B5E3C;
}

.puppies-page .puppies-faq-question .arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-width: 28px;
    background: #FFF0E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    color: #7A5230;
    margin-left: 1rem;
}

.puppies-page .puppies-faq-item.open .puppies-faq-question .arrow {
    background: #F5A623;
    color: #ffffff;
    transform: rotate(180deg);
}

.puppies-page .puppies-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: rgba(122, 82, 48, 0.7);
    line-height: 1.75;
    font-size: 0.875rem;
    border-top: 1px solid #FFF0E0;
    transition: max-height 0.4s ease, padding 0.35s ease, opacity 0.25s ease;
    opacity: 0;
}

.puppies-page .puppies-faq-item.open .puppies-faq-answer {
    max-height: 300px;
    padding: 1rem 1.5rem 1.25rem;
    opacity: 1;
}

/* =========================================
   CTA Section - 入场动画
   ========================================= */
.puppies-page .puppies-cta {
    padding: 5rem 0 5rem;
}

@media (min-width: 640px) {
    .puppies-page .puppies-cta {
        padding: 5rem 0 5rem;
    }
}

@media (min-width: 1024px) {
    .puppies-page .puppies-cta {
        padding: 5rem 0 5rem;
    }
}

.puppies-page .puppies-cta-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.puppies-page .puppies-cta-banner {
    border-radius: 1.5rem;
    background: linear-gradient(to right, #F5A623, #F5A623);
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(245, 166, 35, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.7s ease-out,
                transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.puppies-page .puppies-cta-banner.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.puppies-page .puppies-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    animation: ctaFloat 8s ease-in-out infinite;
}

.puppies-page .puppies-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    animation: ctaFloat 6s ease-in-out infinite reverse;
}

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

@media (min-width: 640px) {
    .puppies-page .puppies-cta-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 2.5rem;
    }
}

.puppies-page .puppies-cta-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .puppies-page .puppies-cta-text {
        text-align: left;
    }
}

.puppies-page .puppies-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

@media (min-width: 640px) {
    .puppies-page .puppies-cta-title {
        font-size: 1.5rem;
    }
}

.puppies-page .puppies-cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-size: 1rem;
}

.puppies-page .puppies-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 1rem;
    background: white;
    color: #C8956C;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.puppies-page .puppies-cta-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.puppies-page .puppies-cta-btn svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.puppies-page .puppies-cta-btn:hover svg:last-child {
    transform: translateX(4px);
}

/* ================================================================
   【区段B】幼犬页面公共样式
   命名空间: .puppy-page
   使用页面: /puppies/ (page-puppies.php) + 幼犬归档页 (archive-puppy.php)
   ================================================================ */

/* --- B-1: CSS变量与页面头部 --- */

.puppy-page {
  --puppy-primary-50: #FFF9F5;
  --puppy-primary-100: #FFF0E0;
  --puppy-primary-200: #F0DCC8;
  --puppy-primary-400: #F5A623;
  --puppy-primary-500: #F5A623;
  --puppy-primary-600: #F5A623;
  --puppy-primary-700: #C8956C;
  --puppy-primary-800: #8B5E3C;
  --puppy-primary-950: #3D2000;
}

.puppy-page-header {
  position: relative;
  overflow: hidden;
  padding: 6.25rem 0;
  background: linear-gradient(to bottom right, #FFF9F5, white, rgba(255, 240, 224, 0.5));
}
@media (min-width: 768px) {
  .puppy-page-header {
    padding: 6.25rem 0;
  }
}
.puppy-header-blob-1 {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(245, 166, 35, 0.3);
  border-radius: 9999px;
  filter: blur(3rem);
  pointer-events: none;
}
.puppy-header-blob-2 {
  position: absolute;
  bottom: -4rem;
  left: -4rem;
  width: 14rem;
  height: 14rem;
  background: rgba(245, 166, 35, 0.2);
  border-radius: 9999px;
  filter: blur(3rem);
  pointer-events: none;
}

.puppy-header-container {
  position: relative;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .puppy-header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .puppy-header-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.puppy-header-title {
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--puppy-primary-950);
}
@media (min-width: 640px) {
  .puppy-header-title {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .puppy-header-title {
    font-size: 3rem;
  }
}

.puppy-header-title .gradient-text {
  background: linear-gradient(135deg, #F5A623, #F5A623, #C8956C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.puppy-header-desc {
  margin-top: 1rem;
  color: rgba(139, 94, 60, 0.6);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.625;
}

.puppy-header-container .badge {
  margin-bottom: 1rem;
}

.puppy-gradient-text {
  background: linear-gradient(to right, var(--puppy-primary-500), var(--puppy-primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- B-2: 幼犬卡片网格与筛选 --- */

.puppy-grid-section {
  padding: 6.25rem 0;
  background: white;
}
@media (min-width: 768px) {
  .puppy-grid-section {
    padding: 6.25rem 0;
  }
}

.puppy-grid-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .puppy-grid-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .puppy-grid-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.puppy-filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.puppy-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .puppy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .puppy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.puppy-filter-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--puppy-primary-50);
  color: var(--puppy-primary-700);
}
.puppy-filter-btn:hover {
  background: var(--puppy-primary-100);
}
.puppy-filter-btn.active {
  background: linear-gradient(to right, var(--puppy-primary-500), var(--puppy-primary-600));
  color: white;
  box-shadow: 0 4px 12px -2px rgba(245, 166, 35, 0.25);
}

.puppy-card {
  overflow: hidden;
  border: none;
  border-radius: 1.5rem;
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.puppy-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .puppy-card {
    border-radius: 1.875rem;
  }
}

.puppy-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 32, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}
.puppy-card:hover .puppy-card-overlay {
  opacity: 1;
  transform: translateY(0);
}
.puppy-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.puppy-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.puppy-card:hover .puppy-card-image img {
  transform: scale(1.08);
}
.puppy-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.puppy-card-tag.hot { background: #ef4444; }
.puppy-card-tag.recommended { background: #10b981; }
.puppy-card-tag.premium { background: #8b5cf6; }
.puppy-card-tag.sale { background: #f97316; }
.puppy-card-tag.default { background: var(--puppy-primary-500); }

.puppy-card-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--puppy-primary-950);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  height: 2.25rem;
}
.puppy-card-overlay-btn:hover {
  background: white;
}

.puppy-card-content {
  padding: 1.25rem;
}
.puppy-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.puppy-card-name {
  font-weight: 700;
  color: var(--puppy-primary-950);
  margin: 0;
}
.puppy-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.puppy-card-meta-item {
  font-size: 0.75rem;
  color: var(--puppy-primary-600);
  background: var(--puppy-primary-50);
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
}
.puppy-card-price {
  text-align: right;
}
.puppy-card-price-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--puppy-primary-600);
}
.puppy-card-price-suffix {
  font-size: 0.75rem;
  color: var(--puppy-primary-400);
}

/* --- B-3: 品种指南卡片 (breed-guide) --- */

.puppy-page .breed-guide-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: none;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  height: 100%;
}
.puppy-page .breed-guide-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.puppy-page .breed-guide-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.puppy-page .breed-guide-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--puppy-primary-400), var(--puppy-primary-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}
.puppy-page .breed-guide-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--puppy-primary-950);
  margin: 0;
}
.puppy-page .breed-guide-section {
  margin-bottom: 1rem;
}
.puppy-page .breed-guide-section:last-child {
  margin-bottom: 0;
}
.puppy-page .breed-guide-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--puppy-primary-700);
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.puppy-page .breed-guide-section-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--puppy-primary-500);
}
.puppy-page .breed-guide-section-text {
  font-size: 0.875rem;
  color: rgba(200, 149, 108, 0.7);
  line-height: 1.6;
  margin: 0;
}
.puppy-page .breed-guide-suitable-box {
  background: var(--puppy-primary-50);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

/* --- B-4: 保障条 (guarantee) --- */

.puppy-page .guarantee-strip {
  border-radius: 1.5rem;
  background: linear-gradient(to right, var(--puppy-primary-50), rgba(254, 230, 138, 0.6));
  border: 1px solid rgba(254, 230, 138, 0.5);
  padding: 2rem 2.5rem;
}
.puppy-page .guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .puppy-page .guarantee-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.puppy-page .guarantee-item {
  text-align: center;
}
.puppy-page .guarantee-icon {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}
.puppy-page .guarantee-title {
  font-weight: 700;
  color: var(--puppy-primary-950);
  font-size: 1rem;
  margin: 0;
}
.puppy-page .guarantee-desc {
  font-size: 0.875rem;
  color: var(--puppy-primary-600);
  margin-top: 0.25rem;
}

/* --- B-5: 幼犬详情弹窗 (modal) --- */

.puppy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.puppy-modal.open {
  display: flex;
}
.puppy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.puppy-modal.open .puppy-modal-backdrop {
  opacity: 1;
}
.puppy-modal-content {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}
.puppy-modal.open .puppy-modal-content {
  opacity: 1;
  transform: scale(1);
}
@media (min-width: 640px) {
  .puppy-modal-content {
    border-radius: 1.875rem;
  }
}
.puppy-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, opacity 0.2;
  opacity: 0.7;
}
.puppy-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  opacity: 1;
}
.puppy-modal-body {
  padding: 1.5rem;
}
.puppy-modal-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
}
.puppy-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.puppy-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--puppy-primary-950);
  margin: 0 0 0.5rem 0;
}
.puppy-modal-tag {
  margin-bottom: 1rem;
}
.puppy-modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.puppy-modal-info-item {
  background: var(--puppy-primary-50);
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: center;
}
.puppy-modal-info-label {
  font-size: 0.75rem;
  color: var(--puppy-primary-600);
  margin-bottom: 0.25rem;
}
.puppy-modal-info-value {
  font-weight: 700;
  color: var(--puppy-primary-900);
  font-size: 0.875rem;
}
.puppy-modal-description {
  color: rgba(200, 149, 108, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.puppy-modal-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.puppy-modal-trait {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--puppy-primary-100);
  color: var(--puppy-primary-700);
  border: 1px solid var(--puppy-primary-200);
}
.puppy-modal-notes {
  background: var(--puppy-primary-50);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.puppy-modal-notes-title {
  font-weight: 600;
  color: var(--puppy-primary-900);
  margin: 0 0 0.75rem 0;
}
.puppy-modal-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.puppy-modal-notes-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: rgba(200, 149, 108, 0.7);
}
.puppy-modal-notes-item:last-child {
  margin-bottom: 0;
}
.puppy-modal-notes-check {
  width: 1rem;
  height: 1rem;
  color: var(--puppy-primary-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.puppy-modal-notes-label {
  font-weight: 500;
  color: var(--puppy-primary-900);
}
.puppy-modal-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--puppy-primary-500), var(--puppy-primary-600));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px -2px rgba(245, 166, 35, 0.25);
  transition: all 0.2s;
  text-decoration: none;
}
.puppy-modal-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.4);
}

/* --- B-6: 选购指南区块 (puppies-breed-guide) --- */

.puppies-breed-guide-section {
  padding: 6.25rem 0;
  background: linear-gradient(to bottom, var(--puppy-primary-50), white);
}
@media (min-width: 768px) {
  .puppies-breed-guide-section {
    padding: 6.25rem 0;
  }
}

.puppies-breed-guide-header {
  text-align: center;
  margin-bottom: 3rem;
}

.puppies-breed-guide-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--puppy-primary-100);
  color: var(--puppy-primary-700);
  border: 1px solid var(--puppy-primary-200);
  margin-bottom: 1rem;
}

.puppies-breed-guide-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--puppy-primary-950);
}
@media (min-width: 640px) {
  .puppies-breed-guide-title {
    font-size: 1.875rem;
  }
}

.puppies-breed-guide-subtitle {
  margin-top: 1rem;
  color: rgba(180, 83, 9, 0.6);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.puppies-breed-guide-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .puppies-breed-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .puppies-breed-guide-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.puppies-breed-guide-card {
  height: 100%;
  border: none;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.puppies-breed-guide-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.puppies-breed-guide-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1.5rem 1.5rem 0;
}

.puppies-breed-guide-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--puppy-primary-400), var(--puppy-primary-600));
  display: flex;
  align-items: center;
  justify-content: center;
}

.puppies-breed-guide-icon-text {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.puppies-breed-guide-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--puppy-primary-950);
  margin: 0;
}

.puppies-breed-guide-content-section {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}
.puppies-breed-guide-content-section:last-of-type {
  margin-bottom: 0;
}

.puppies-breed-guide-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--puppy-primary-700);
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.puppies-breed-guide-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--puppy-primary-500);
}

.puppies-breed-guide-section-text {
  font-size: 0.875rem;
  color: rgba(200, 149, 108, 0.7);
  line-height: 1.6;
  margin: 0;
}
.puppies-breed-guide-suitable-box {
  background: var(--puppy-primary-50);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

/* --- B-7: 动画 --- */

.puppy-animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.puppy-animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.puppy-animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.puppy-animate-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================
   【区段C】页面定制化样式
   如需某个页面样式与其他页面不同，在此区域编写覆盖样式
   
   页面专属class：
     .puppy-shop-page    — 幼犬选购页 (page-puppies.php)
     .puppy-archive-page — 幼犬归档页 (archive-puppy.php)
   
   示例：
     .puppy-shop-page .puppy-card { border-radius: 2rem; }
     .puppy-archive-page .guarantee-strip { background: red; }
   ================================================================ */