/* Bootstrap Theme - Vibrant E-commerce Design */
:root {
    --bs-primary: #ff6b35;
    --bs-primary-dark: #e85a2a;
    --bs-secondary: #004e89;
    --bs-success: #06d6a0;
    --bs-danger: #ef476f;
    --bs-warning: #ffd23f;
    --bs-info: #118ab2;
    --bs-light: #f7f9fb;
    --bs-dark: #1a1a2e;
    --bs-border-radius: 0.75rem;
    --bs-accent: #ff6b35;
    --bs-accent-light: #ffa07a;
}

/* Hero Section - Vibrant Bootstrap Style */
.hero-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #004e89 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner .display-3 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.hero-banner .text-primary {
    color: #ffd23f !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-banner .lead {
    font-size: 1.35rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Features Bar - Colorful Cards */
.features-bar {
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: var(--bs-border-radius);
    padding: 2rem 0 !important;
}

.feature-icon-sm {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-icon-sm.bg-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ffa07a 100%) !important;
}

.feature-icon-sm.bg-success {
    background: linear-gradient(135deg, #06d6a0 0%, #5eead4 100%) !important;
}

.feature-icon-sm.bg-warning {
    background: linear-gradient(135deg, #ffd23f 0%, #ffe66d 100%) !important;
}

.feature-icon-sm.bg-info {
    background: linear-gradient(135deg, #118ab2 0%, #06d6a0 100%) !important;
}

/* Category Cards - Colorful & Modern */
.category-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fb 100%);
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ffd23f, #06d6a0, #118ab2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card-modern:hover::before {
    transform: scaleX(1);
}

.category-card-modern:hover {
    border-color: var(--bs-accent);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.category-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ffa07a 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: white;
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-icon-modern {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.4);
}

.category-title-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.category-count-modern {
    color: var(--bs-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* Product Cards - Vibrant & Interactive */
.product-card-modern {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card-modern:hover {
    border-color: var(--bs-accent);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.25);
    transform: translateY(-8px);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ef476f 0%, #ff6b9d 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 71, 111, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-image-modern {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--bs-light);
}

.product-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(0, 78, 137, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-body-modern {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, white 0%, #f7f9fb 100%);
}

.product-title-modern {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    flex-shrink: 0;
    color: var(--bs-dark);
}

.product-rating {
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.product-rating .bi-star-fill {
    color: #ffd23f;
    font-size: 0.9rem;
}

.product-price-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.price-new {
    font-size: 1.75rem;
    font-weight: 800;
    color: #212529;
}

.price-old {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

/* Promo Banner - Eye-catching Style */
.promo-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #004e89 50%, #06d6a0 100%);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Product List Page */
.product-filter-card {
    border: 1px solid #dee2e6;
    border-radius: var(--bs-border-radius);
}

/* Slider/Carousel */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: var(--bs-border-radius);
}

/* Product Details */
.product-detail-image {
    border: 1px solid #dee2e6;
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    background: white;
}

.product-detail-info {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: var(--bs-border-radius);
    padding: 2rem;
}

/* Buttons - Vibrant & Modern */
.btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ffa07a 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e85a2a 0%, #ff8c69 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #ffd23f 0%, #ffe66d 100%);
    color: var(--bs-dark);
    box-shadow: 0 4px 12px rgba(255, 210, 63, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffc107 0%, #ffd23f 100%);
    box-shadow: 0 6px 20px rgba(255, 210, 63, 0.4);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--bs-accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

/* Cards */
.card {
    border-radius: 1rem;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-header {
    background: linear-gradient(135deg, #ff6b35 0%, #ffa07a 100%);
    border-bottom: none;
    color: white;
    font-weight: 700;
    border-radius: 1rem 1rem 0 0 !important;
}

.card-footer {
    background: #f7f9fb;
    border-top: 2px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0;
    }
    
    .hero-banner .display-3 {
        font-size: 2.5rem;
    }
    
    .product-image-modern {
        height: 220px;
    }
    
    .carousel-item {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-banner .display-3 {
        font-size: 2rem;
    }
    
    .features-bar {
        margin-top: 0;
    }
}
