/* ============================================
   文章详情页样式 - Article Detail Page Styles
   基于BEM命名规范组织
   ============================================ */

/* --------------------------------------------
   区块：文章容器 - Article Container
   主容器，提供卡片式布局和阴影效果
   -------------------------------------------- */
.p-show__article {
    background: var(--color-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    /* padding: 3rem 4rem; */
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    animation: articleFadeIn 0.6s ease-out forwards;
}

/* 装饰性顶部边框渐变 */
.p-show__article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%); */
}

/* --------------------------------------------
   元素：文章标题 - Article Title
   大标题样式，带有底部装饰线
   -------------------------------------------- */
.p-show__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--datai-color);
    line-height: 1.4;
    /* margin-bottom: 1.5rem; */
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    animation: slideInLeft 0.5s ease-out 0.2s both;
}

/* 标题底部装饰线 */
.p-show__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

/* --------------------------------------------
   元素：元信息容器 - Meta Container
   作者、时间、浏览量等信息行
   -------------------------------------------- */
.p-show__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    /* padding: 1rem 1.5rem; */
    background: var(--color-bg-secondary);
    /* border-radius: 8px; */
    animation: slideInUp 0.5s ease-out 0.3s both;

    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;

}

/* 元信息项 */
.p-show__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.p-show__meta-item:hover {
    color: var(--color-primary);
}

/* 元信息图标 */
.p-show__meta-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

/* 作者图标 */
.p-show__meta-item--author .p-show__meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E");
}

/* 时间图标 */
.p-show__meta-item--time .p-show__meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

/* 浏览量图标 */
.p-show__meta-item--views .p-show__meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E");
}

.p-show__meta-item:hover .p-show__meta-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* --------------------------------------------
   元素：文章内容 - Article Content
   富文本内容区域样式
   -------------------------------------------- */
.p-show__content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text);
    animation: fadeIn 0.6s ease-out 0.4s both;
}

/* 富文本内容内部元素样式 */
.p-show__content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.p-show__content h2,
.p-show__content h3,
.p-show__content h4 {
    font-family: var(--font-display);
    color: var(--color-text);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.p-show__content h2 {
    font-size: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-primary);
}

.p-show__content h3 {
    font-size: 1.25rem;
}

.p-show__content h4 {
    font-size: 1.125rem;
}

.p-show__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.p-show__content img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.p-show__content a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary);
    transition: all var(--transition-fast);
}

.p-show__content a:hover {
    color: var(--color-primary-light);
    border-bottom-style: solid;
}

.p-show__content ul,
.p-show__content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.p-show__content ul {
    list-style: none;
}

.p-show__content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.p-show__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.p-show__content ol {
    list-style: decimal;
}

.p-show__content ol li {
    margin-bottom: 0.75rem;
}

.p-show__content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--color-bg-secondary);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-text-light);
}

.p-show__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.p-show__content th,
.p-show__content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.p-show__content th {
    background: var(--color-primary);
    color: var(--color-text-white);
    font-weight: 600;
}

.p-show__content tr:hover {
    background: var(--color-bg-secondary);
}

.p-show__content code {
    background: var(--color-bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    color: var(--color-accent);
}

.p-show__content pre {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.p-show__content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* --------------------------------------------
   元素：文章导航 - Article Navigation
   上一篇/下一篇导航区域
   -------------------------------------------- */
.p-show__navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    animation: slideInUp 0.5s ease-out 0.5s both;
}

/* 导航项 */
.p-show__nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.p-show__nav-item--next {
    text-align: right;
    align-items: flex-end;
}

/* 导航标签 */
.p-show__nav-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.p-show__nav-item--prev .p-show__nav-label::before {
    content: '←';
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.p-show__nav-item--next .p-show__nav-label::after {
    content: '→';
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

/* 导航链接 */
.p-show__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    width: fit-content;
    max-width: 100%;
}

.p-show__nav-item--prev .p-show__nav-link {
    flex-direction: row;
}

.p-show__nav-item--next .p-show__nav-link {
    flex-direction: row-reverse;
}

.p-show__nav-link:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 导航文本 */
.p-show__nav-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    /* max-width: 300px; */
}

/* 导航箭头 */
.p-show__nav-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-fast);
}

.p-show__nav-item--prev .p-show__nav-arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232d3748'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
}

.p-show__nav-item--next .p-show__nav-arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232d3748'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

.p-show__nav-link:hover .p-show__nav-arrow {
    transform: translateX(4px);
}

.p-show__nav-item--prev .p-show__nav-link:hover .p-show__nav-arrow {
    transform: translateX(-4px);
}

.p-show__nav-item--prev .p-show__nav-link:hover .p-show__nav-arrow,
.p-show__nav-item--next .p-show__nav-link:hover .p-show__nav-arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

.p-show__nav-item--prev .p-show__nav-link:hover .p-show__nav-arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
}

/* 空状态 */
.p-show__nav-empty {
    color: #999;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px dashed var(--color-border);
    display: inline-block;
    width: 100px;
    text-align: center;
}

/* --------------------------------------------
   动画关键帧 - Animation Keyframes
   -------------------------------------------- */
@keyframes articleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --------------------------------------------
   响应式设计 - Responsive Design
   -------------------------------------------- */
@media screen and (max-width: 1200px) {
    .p-show__article {
        padding: 2.5rem 3rem;
    }

    .p-show__title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .p-show__article {
        padding: 2rem;
        margin: 1rem 0;
        border-radius: 12px;
    }

    .p-show__title {
        font-size: 1.5rem;
        padding-bottom: 0rem;
        /* margin-bottom: 1rem; */
    }

    .p-show__meta {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .p-show__content {
        font-size: 0.9375rem;
    }

    .p-show__navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .p-show__nav-item--next {
        text-align: left;
        align-items: flex-start;
    }

    .p-show__nav-item--next .p-show__nav-link {
        flex-direction: row;
    }

    .p-show__nav-text {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .p-show__article {
        padding: 1.5rem;
    }

    .p-show__title {
        font-size: 1.25rem;
    }

    .p-show__content {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    .p-show__content h2 {
        font-size: 1.125rem;
    }

    .p-show__content h3 {
        font-size: 1rem;
    }
}

/* --------------------------------------------
   打印样式 - Print Styles
   -------------------------------------------- */
@media print {
    .p-show__article {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .p-show__article::before {
        display: none;
    }

    .p-show__navigation {
        display: none;
    }
}

/* ============================================
   产品详情展示区样式 - Product Detail Show Styles
   基于BEM命名规范组织，与页面整体风格保持一致
   ============================================ */

/* --------------------------------------------
   区块：产品展示区顶部容器 - Product Show Top Section
   包含产品图片和基本信息的双栏布局
   -------------------------------------------- */
.p-show__top {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    animation: productShowFadeIn 0.6s ease-out forwards;
}

/* --------------------------------------------
   元素：左侧图片区域 - Left Image Area
   -------------------------------------------- */
.p-show__top-left {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-secondary);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.p-show__top-left:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* 图片容器装饰边框 */
.p-show__top-left::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 2;
}

.p-show__top-left:hover::before {
    opacity: 1;
}

/* 产品主图 */
.p-show__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
    transition: transform var(--transition-slow);
}

.p-show__top-left:hover .p-show__thumb {
    transform: scale(1.03);
}

/* --------------------------------------------
   元素：右侧信息区域 - Right Info Area
   -------------------------------------------- */
.p-show__top-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.5rem 0;
}

/* 产品标题 - 复用并扩展基础样式 */
.p-show__top-right .p-show__title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
}

.p-show__top-right .p-show__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

/* 产品描述文本 */
.p-show__description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.p-show__description p {
    margin-bottom: 0.75rem;
}

/* --------------------------------------------
   元素：元信息区域 - Meta Information Area
   -------------------------------------------- */
.p-show__top-right .p-show__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.p-show__top-right .p-show__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    background: var(--color-bg-secondary);
    border-radius: 2rem;
    transition: all var(--transition-fast);
}

.p-show__top-right .p-show__meta-item:hover {
    color: var(--color-primary);
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

.p-show__top-right .p-show__meta-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

/* 时间图标 */
.p-show__top-right .p-show__meta-item--time .p-show__meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

/* 浏览量图标 */
.p-show__top-right .p-show__meta-item--views .p-show__meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E");
}

/* --------------------------------------------
   元素：联系操作区域 - Contact Action Area
   -------------------------------------------- */
.p-show__contact {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 服务热线 */
.p-show__hotline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.p-show__hotline::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23005bac'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.p-show__hotline-number {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.5px;
}

/* 咨询按钮 */
.p-show__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    width: fit-content;
}

.p-show__cta::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-fast);
}

.p-show__cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.p-show__cta:hover::after {
    transform: translateX(4px);
}

.p-show__cta:active {
    transform: translateY(-1px);
}

/* --------------------------------------------
   动画关键帧 - Animation Keyframes
   -------------------------------------------- */
@keyframes productShowFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --------------------------------------------
   响应式设计 - Responsive Design
   -------------------------------------------- */

/* 平板设备 (1024px以下) */
@media screen and (max-width: 1024px) {
    .p-show__top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .p-show__top-right .p-show__title {
        font-size: 1.5rem;
    }

    .p-show__description {
        font-size: 0.9375rem;
    }
}

/* 小平板设备 (768px以下) */
@media screen and (max-width: 768px) {
    .p-show__top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .p-show__top-left {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .p-show__thumb {
        aspect-ratio: 16 / 10;
    }

    .p-show__top-right {
        padding: 0;
        text-align: center;
    }

    .p-show__top-right .p-show__title {
        font-size: 1.375rem;
        text-align: center;
    }

    .p-show__top-right .p-show__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .p-show__top-right .p-show__meta {
        justify-content: center;
    }

    .p-show__contact {
        align-items: center;
    }

    .p-show__cta {
        width: 100%;
        max-width: 280px;
    }
}

/* 移动设备 (480px以下) */
@media screen and (max-width: 480px) {
    .p-show__top {
        gap: 1.25rem;
        padding: 1rem 0;
    }

    .p-show__top-left {
        border-radius: 12px;
    }

    .p-show__top-left::before {
        border-radius: 12px;
    }

    .p-show__top-right .p-show__title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .p-show__description {
        font-size: 0.875rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .p-show__top-right .p-show__meta {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .p-show__top-right .p-show__meta-item {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }

    .p-show__contact {
        padding-top: 1.25rem;
        gap: 0.875rem;
    }

    .p-show__hotline {
        font-size: 0.9375rem;
    }

    .p-show__hotline-number {
        font-size: 1rem;
    }

    .p-show__cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* --------------------------------------------
   无障碍支持 - Accessibility
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .p-show__top {
        animation: none;
    }

    .p-show__top-left,
    .p-show__thumb,
    .p-show__cta {
        transition: none;
    }

    .p-show__top-left:hover,
    .p-show__cta:hover {
        transform: none;
    }

    .p-show__thumb:hover {
        transform: none;
    }
}

/* 焦点状态 */
.p-show__cta:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* --------------------------------------------
   元素：二维码展示区域 - QR Code Display Area
   鼠标悬停立即咨询按钮时显示
   -------------------------------------------- */
.p-show__qrcode {
    display: flex;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 0.75rem;
    z-index: 10;
}

/* 二维码图片 */
.p-show__qrcode-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    background: var(--color-bg);
    border: 2px solid var(--color-border-light);
    transition: transform var(--transition-fast);
}

.p-show__qrcode-img:hover {
    transform: scale(1.05);
}

/* 鼠标悬停立即咨询按钮时显示二维码 */
.p-show__cta:hover~.p-show__qrcode,
.p-show__qrcode:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 联系区域需要相对定位作为二维码定位参考 */
.p-show__contact {
    position: relative;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .p-show__qrcode {
        position: static;
        justify-content: center;
        margin-top: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .p-show__qrcode-img {
        width: 80px;
        height: 80px;
    }

    /* 移动端始终显示二维码，不需要hover */
    .p-show__cta:hover~.p-show__qrcode,
    .p-show__qrcode:hover {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

@media screen and (max-width: 480px) {
    .p-show__qrcode {
        gap: 0.75rem;
    }

    .p-show__qrcode-img {
        width: 70px;
        height: 70px;
    }
}