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

html {
    scroll-padding-top: 70px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.carousel-item img {
    max-height: 500px;
    object-fit: cover;
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.icon-box i {
    margin-bottom: 15px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s;
}

.color-btn.active {
    border-color: #0d6efd;
}

.color-btn:nth-child(1) { background-color: #000; }
.color-btn:nth-child(2) { background-color: #fff; border: 1px solid #ddd; }
.color-btn:nth-child(3) { background-color: #0d6efd; }
.color-btn:nth-child(4) { background-color: #dc3545; }

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0d6efd;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #0d6efd;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #0d6efd;
    transition: color 0.3s;
}

.social-link:hover {
    color: #0a58ca;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.cart-empty {
    padding: 80px 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

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

.cart-item-details {
    flex: 1;
    margin-left: 20px;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc3545;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 5px;
}

.remove-item {
    color: #dc3545;
    cursor: pointer;
}

.remove-item:hover {
    color: #bb2d3b;
}

.add-to-cart:hover {
    transform: scale(1.02);
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
