#wallpaperBanner {
    margin-bottom: 30px;
}

#wallpaperBanner .carousel-item {
    height: 500px;
    position: relative;
    overflow: hidden;
}

#wallpaperBanner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

#wallpaperBanner .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 20px;
    max-width: 80%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
}

#wallpaperBanner .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#wallpaperBanner .carousel-caption p {
    font-size: 1.2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    margin: 0 auto 30px;
    color: #555;
    line-height: 1.6;
}

.wallpaper-description {
    line-height: 1.8;
    color: #333;
    border-left: 4px solid #36b9cc;
    border-right: 4px solid #36b9cc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.wallpaper-description .text-center.text-justify {
    margin: 0 auto;
}

.wallpaper-description h2 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.wallpaper-description p {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 0;
}

.text-justify {
    text-align: justify;
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.category-card .card-body {
    padding: 1.5rem;
}

.category-card .card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.category-card .card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.category-card .btn {
    margin-top: 0.5rem;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.category-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.bestseller-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.bestseller-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.bestseller-badge {
    position: absolute;
    top: 15px;
    right: 0;
    background: linear-gradient(45deg, #FF9800, #F44336);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px 0 0 20px;
    z-index: 10;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
}

.bestseller-badge i {
    margin-right: 5px;
    color: #FFD700;
}

.bestseller-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bestseller-card:hover .card-img-top {
    transform: scale(1.05);
}

.bestseller-card .card-body {
    padding: 1.5rem;
}

.bestseller-card .card-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.product-rating span {
    color: #6c757d;
    margin-left: 5px;
    font-size: 0.9rem;
}

.product-price {
    margin: 0.5rem 0;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50;
}

.per-unit {
    color: #6c757d;
    font-size: 0.9rem;
}

.bestseller-card .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bestseller-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.calculator-section {
    margin-bottom: 40px;
}

.calculator-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #2ab1ad 0%, #1a7a77 100%);
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 8px 30px rgba(42, 177, 173, 0.25);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.calculator-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 80px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.calculator-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.calculator-icon i {
    font-size: 32px;
    color: white;
}

.calculator-content {
    flex: 1;
}

.calculator-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.calculator-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.btn-calculator {
    background: white;
    color: #2ab1ad;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.btn-calculator:hover {
    background: #f0fffe;
    color: #1a7a77;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

@media (max-width: 768px) {
    #wallpaperBanner .carousel-item {
        height: 350px;
    }

    #wallpaperBanner .carousel-caption h2 {
        font-size: 1.8rem;
    }

    #wallpaperBanner .carousel-caption p {
        font-size: 1rem;
    }

    .calculator-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 16px;
    }

    .btn-calculator {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    #wallpaperBanner .carousel-item {
        height: 250px;
    }

    #wallpaperBanner .carousel-caption {
        padding: 10px;
        bottom: 30px;
    }

    #wallpaperBanner .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .wallpaper-description p {
        font-size: 1rem;
    }
}

.btn-detail {
    background-color: #36b9cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
    box-shadow: 0 2px 6px rgba(54, 185, 204, 0.08);
}

.btn-detail:hover,
.btn-detail:focus {
    background-color: #2596a6;
    color: #fff;
    text-decoration: none;
}