body {
    font-family: 'Noto Sans TC', sans-serif;
}

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

.intro-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.product-intro {
    padding: 50px 0;
}

.tab-section {
    padding: 50px 0;
    background-color: #e9ecef;
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 50px 0;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Product Card Styles */
.product-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    background: #fff;
}

.product-card .card-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-card .card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.product-card:hover .card-img-top {
    transform: scale(1.1);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}

.product-card .card-text {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-card .price {
    font-size: 1.1rem;
    color: #d63384;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.product-card .btn-primary {
    background-color: #333;
    border-color: #333;
    border-radius: 0;
    padding: 8px 25px;
    transition: all 0.3s;
}

.product-card .btn-primary:hover {
    background-color: #555;
    border-color: #555;
    transform: scale(1.05);
}

/* Category Styles (Reused in List/Detail) */
.category-card {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    z-index: 2;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.category-title {
    position: relative;
    z-index: 3;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.category-card:hover .category-title {
    transform: translateY(-5px);
}