/* ==================================================
   Featured Products Styles (Responsive & Neon Glow)
   ================================================== */
.featured-products-section {
    padding: 40px 0 60px 0;
    background-color: #0B081D;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Header Wrapper (Title + Button) */
.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header-line {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.section-header-line::after {
    content: '';
    height: 1px;
    background: linear-gradient(270deg, transparent, #3b82f6);
    flex-grow: 1;
    margin-left: 20px;
    margin-right: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

/* View All Button */
.view-all-btn {
    background-color: rgba(59, 130, 246, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.view-all-btn:hover {
    background-color: #3b82f6;
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); /* Button neon glow */
}

/* 6-Column CSS Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* Card Design */
.featured-card {
    background-color: #1a1635;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* ✨ Neon Glow Effect on Hover ✨ */
.featured-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
}

/* Image Area */
.fc-image-wrap {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.img-inner-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.img-inner-box img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Placeholder Icon Style */
.placeholder-icon {
    font-size: 60px;
    color: #d1d5db;
    transition: color 0.4s ease, transform 0.4s ease;
}

.featured-card:hover .placeholder-icon {
    color: #3b82f6;
    transform: scale(1.1); /* Icon zoom on hover */
}

.featured-card:hover .img-inner-box img {
    transform: scale(1.08); /* Image zoom on hover */
}

/* Badges */
.fc-badge-discount {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ef4444; /* Red */
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px 0 8px 0;
    z-index: 2;
}

.fc-badge-stock {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #10b981; /* Green */
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 0 8px 0 8px;
    z-index: 2;
}

/* Content Area */
.fc-title {
    font-size: 12px;
    color: #e5e7eb;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.fc-current-price {
    font-size: 15px;
    font-weight: 700;
    color: #38bdf8; /* Light Blue */
}

.fc-save {
    font-size: 10px;
    color: #10b981; /* Green */
    font-weight: 600;
}

.fc-old-price {
    font-size: 11px;
    color: #6b7280;
    text-decoration: line-through;
    margin-bottom: 15px;
}

/* Button */
.fc-btn-add {
    display: block;
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.fc-btn-add i {
    margin-right: 5px;
}

.fc-btn-add:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); /* extra glow for button */
}

/* Responsive Grid (Media Queries) */
@media (max-width: 1200px) {
    .featured-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header-wrapper { flex-direction: column; gap: 15px; align-items: flex-start; }
    .section-header-line::after { display: none; }
}
@media (max-width: 480px) {
    .featured-grid { grid-template-columns: repeat(1, 1fr); }
}