/* ========== Products Shared Styles ========== */

/* --- Product Listing (chanpin.html) --- */
.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 0 20px;
}

.product-card {
    width: 240px;
    height: 240px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: #c15d3e;
}

.product-card .drug-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
}

.product-card .info-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* --- Product Detail (chanpin1-3.html) --- */
.section-app {
    background: #fff;
    padding-bottom: 50px;
}

.detail-header {
    text-align: center;
    padding-top: 128px;
}

.detail-header h2 {
    display: inline-block;
    border-bottom: 5px solid #c15d3e;
    padding-bottom: 10px;
    margin: 0 auto;
}

.detail-container {
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.detail-main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.detail-image {
    flex: 0 0 400px;
    max-width: 100%;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
}

.detail-info {
    flex: 1;
    min-width: 280px;
}

.detail-info .info-item {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.detail-info .info-item strong {
    color: #555;
}

.detail-secondary-image {
    margin-top: 40px;
    text-align: center;
}

.detail-secondary-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* --- Section title --- */
.section-title {
    text-align: center;
    margin-bottom: 10px;
}

.section-title h2 {
    display: inline-block;
    width: 150px;
    border-bottom: 5px solid #c15d3e;
    padding-bottom: 10px;
    margin: 0 auto;
}

/* ========== Header & Nav Overrides ========== */
.fix-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 60px;
    box-sizing: border-box;
    border-bottom: 1px solid #e6e6e6;
    border-left: none;
    border-right: none;
    border-top: none;
}

.fix-top .headlogo {
    display: flex;
    align-items: center;
}

.fix-top .navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fix-top .navbar-nav li {
    width: auto;
    margin: 0 4px;
}

.fix-top .navbar-nav li a {
    display: block;
    padding: 6px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.fix-top .navbar-nav li a:hover {
    background: #f5f5f5;
    color: #333;
    opacity: 1;
}

.fix-top .navbar-nav li a.active,
.fix-top .navbar-nav li a.active:hover {
    color: #c15d3e;
    font-weight: 500;
    background: transparent;
}

.fix-top .navbar-nav li.img-link {
    width: auto;
}

.fix-top .navbar-nav li.img-link .icon {
    display: inline-block;
    vertical-align: middle;
}

.fix-top .home-QR-code {
    position: fixed;
    top: 55px;
    right: 100px;
    z-index: 3;
    display: none;
}

/* ========== Footer Overrides ========== */
.page6 {
    height: auto !important;
    min-height: 360px;
    padding: 60px 0 40px !important;
    background: #31343e;
}

.page6 .item-page {
    padding: 0 20px;
}

.page6 .logon img {
    width: 90px;
    height: 90px;
}

.page6 .logon-title {
    font-size: 20px;
    margin-top: 16px;
    color: #fff;
    letter-spacing: 1px;
}

.page6 .about-us {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    width: auto;
    max-width: 530px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.page6 .footer-content {
    padding-top: 50px;
    width: auto;
    max-width: 1048px;
    margin: 0 auto;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    line-height: 1.8;
}

.page6 .footer-content .link-youqing a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.page6 .footer-content .link-youqing a:hover {
    color: rgba(255,255,255,0.9);
}