/* 全局样式 */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 76px;
    color: #5d4037;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff9f0 !important;
}

.navbar-brand {
    font-weight: 600;
    color: #ff7043;
}

.nav-link {
    color: #795548 !important;
}

.nav-link:hover, .nav-link.active {
    color: #ff7043 !important;
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(121, 85, 72, 0.7);
    padding: 20px;
    border-radius: 10px;
}

/* 商品卡片样式 */
.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 热门商品样式 */
.featured-card {
    background: linear-gradient(to bottom, #fff, #fff0e8);
    border: 1px solid #ffe0cc;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff7043;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    z-index: 1;
}

/* 新品样式 */
.new-card {
    background: linear-gradient(to bottom, #fff, #f1f8e9);
    border: 1px solid #dcedc8;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #8bc34a;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    z-index: 1;
}

.product-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.product-card .card-body {
    padding: 15px;
}

.product-card .price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.2em;
}

/* 热门商品按钮样式 */
.featured-card .btn-primary {
    background-color: #ff7043;
    border-color: #ff7043;
}

.featured-card .btn-primary:hover {
    background-color: #f4511e;
    border-color: #f4511e;
}

/* 新品按钮样式 */
.new-card .btn-success {
    background-color: #8bc34a;
    border-color: #8bc34a;
}

.new-card .btn-success:hover {
    background-color: #689f38;
    border-color: #689f38;
}

/* 购物车样式 */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* 表单样式 */
.form-control:focus {
    border-color: #ff7043;
    box-shadow: 0 0 0 0.2rem rgba(255,112,67,0.25);
}

/* 按钮样式 */
.btn-primary {
    background-color: #ff7043;
    border-color: #ff7043;
}

.btn-primary:hover {
    background-color: #f4511e;
    border-color: #f4511e;
}

.btn-success {
    background-color: #8bc34a;
    border-color: #8bc34a;
}

.btn-success:hover {
    background-color: #689f38;
    border-color: #689f38;
}

/* 商品分类选择样式 */
.list-group-item {
    background-color: #fff9f0;
    border-color: #ffe0cc;
    color: #795548;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #fff0e8;
}

.list-group-item.active {
    background-color: #ff9871;
    border-color: #ff7043;
    color: #fff;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: #ffe0cc;
    color: #5d4037;
}

.card-header {
    background-color: #fff0e8;
    border-bottom: 2px solid #ff9871;
    color: #795548;
}

/* 页脚样式 - 全新设计 */
footer {
    background-color: #fff0e8;
    color: #795548;
    padding: 50px 0 25px;
    margin-top: 80px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.05);
    position: relative;
    border-top: 5px solid #ff9871;
}

footer::before {
    display: none; /* 移除复杂的装饰效果 */
}

footer h5 {
    color: #5d4037;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 600;
    font-size: 1.1rem;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff9871;
    border-radius: 2px;
}

footer a {
    color: #795548;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #ff7043;
    transform: translateX(3px);
}

footer p {
    color: #795548;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* 公司名称样式 */
p[data-lang-key="companyName"] {
    font-weight: 600;
    color: #ff7043;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* 快速链接样式 */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.quick-links a {
    background-color: rgba(255, 112, 67, 0.1);
    color: #795548;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.quick-links a:hover {
    background-color: rgba(255, 112, 67, 0.2);
    color: #ff7043;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.quick-links a::before {
    content: '→';
    margin-right: 6px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    color: #ff9871;
}

/* 联系方式样式 */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.contact-info-item i {
    color: #ff9871;
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content span {
    color: #ff7043;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.contact-info-content p {
    margin-bottom: 0;
}

/* 地址样式 */
.contact-info-content span[data-lang-key="usAddress"], 
.contact-info-content span[data-lang-key="cnAddress"] {
    color: #ff7043;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.contact-info-content span[data-lang-key="usAddressDetail"],
.contact-info-content span[data-lang-key="cnAddressDetail"] {
    color: #795548;
    padding-left: 0;
    display: block;
    line-height: 1.3;
    margin-bottom: 0;
}

/* 版权信息样式 */
.text-center.mt-3 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    padding-top: 20px;
}

.text-center.mt-3 p {
    color: #795548;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
    padding: 0 15px;
    text-align: center;
}

/* 语言切换按钮 */
#langToggle {
    min-width: 60px;
}

/* 购物车徽章 */
.badge {
    font-size: 0.7em;
    padding: 0.35em 0.65em;
}

/* 隐私政策页面样式 */
.privacy-content {
    line-height: 1.8;
}

.privacy-content h2 {
    color: #795548;
    font-size: 1.5em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff7043;
}

.privacy-content p {
    color: #5d4037;
    margin-bottom: 1.5rem;
}

.privacy-content section {
    background: #fff9f0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.privacy-content section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 热门标签样式 */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255, 112, 67, 0.1);
    color: #795548;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-tag:hover {
    background-color: #ff7043;
    color: white;
    transform: translateY(-2px);
}

/* 促销卡片样式 */
.promo-card {
    background: linear-gradient(135deg, #fff0e8 0%, #fff9f0 100%);
    border: 2px dashed #ff9871;
    border-radius: 8px;
    text-align: center;
}

.promo-card h5 {
    color: #ff7043;
    font-weight: 600;
    margin-bottom: 10px;
}

.promo-card p {
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.countdown-item {
    background-color: #ff7043;
    color: white;
    border-radius: 6px;
    padding: 5px 0;
    min-width: 45px;
    text-align: center;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
}

/* 特别突出天数 */
.countdown-item:first-child .countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* 客户评价样式 */
.customer-review {
    border-left: 3px solid #ff9871;
}

.stars {
    color: #ff9871;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.review-author {
    display: block;
    text-align: right;
    color: #795548;
}

/* 品牌Logo样式 */
.pet-logo {
    color: #ff7043;
    font-size: 1.3rem;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 关于我们页面样式 */
.about-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.about-content h2 {
    color: #5d4037;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff9871, #ff7043);
    border-radius: 2px;
}

.about-content h4 {
    color: #795548;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px dashed rgba(121, 85, 72, 0.3);
    padding-bottom: 8px;
    margin-top: 20px;
}

.about-content p {
    color: #5d4037;
    line-height: 1.8;
}

.about-content ul {
    color: #5d4037;
    line-height: 1.8;
}

.about-content ul li {
    margin-bottom: 8px;
}

/* 页脚 - 公司信息样式 */
.company-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.company-info i {
    color: #ff7043;
    margin-right: 8px;
}

/* 页脚 - 社交图标 */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 112, 67, 0.1);
    border-radius: 50%;
    color: #ff7043;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ff7043;
    color: white;
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 1rem;
}

/* 页脚 - 分类和支付方式 */
.footer-category, .payment-methods {
    margin-top: 20px;
}

.footer-category h6, .payment-methods h6 {
    color: #795548;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    color: #795548;
}

.payment-icons i {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #ff7043;
}

/* 响应式调整 */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    footer .col-md-3, 
    footer .col-md-6 {
        margin-bottom: 20px;
    }
    
    footer h5 {
        margin-bottom: 15px;
    }
    
    span[data-lang-key="usAddress"], 
    span[data-lang-key="cnAddress"] {
        margin-top: 5px;
    }
    
    .quick-links {
        justify-content: center;
    }
    
    .contact-info-item {
        margin-bottom: 8px;
    }
    
    .product-tags {
        justify-content: center;
    }
}

/* 商品链接样式 */
.product-image-link {
    display: block;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-image-link img {
    transition: transform 0.5s ease;
}

.product-image-link:hover img {
    transform: scale(1.05);
}

.product-title-link {
    color: #5d4037;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title-link:hover {
    color: #ff7043;
    text-decoration: none;
}

/* 商品详情页样式 */
.product-detail-image {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-detail-image:hover {
    transform: scale(1.02);
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #795548;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ff7043;
}

.breadcrumb-item.active {
    color: #ff7043;
}

.product-category {
    display: inline-block;
} 