/* Business Slider Styles */
.ih-business-slider-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.ih-business-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="honeycomb" x="0" y="0" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon fill="none" stroke="%23e6a500" stroke-width="0.5" stroke-opacity="0.1" points="24.8,22 37.3,29.2 37.3,43.7 24.8,50.9 12.3,43.7 12.3,29.2"/></pattern></defs><rect width="100" height="100" fill="url(%23honeycomb)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.ih-slider-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.ih-slider-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3d2817;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #3d2817, #e6a500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ih-slider-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.ih-business-slider-container {
    /* position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2; */
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.ih-business-slider-container::-webkit-scrollbar {
    height: 8px;
}

.ih-business-slider-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ih-business-slider-container::-webkit-scrollbar-thumb {
    background: #FDB836;
    border-radius: 10px;
}

.ih-business-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.ih-business-card {
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ih-business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #e6a500;
}

.ih-business-card-header {
    position: relative;
}

.ih-business-card-slider {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 800px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.ih-business-card-slider:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #e6a500;
}

.ih-business-featured-image {
    height: 200px;
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    /* position: relative; */
}

.ih-business-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ih-business-card-slider:hover .ih-business-featured-image img {
    transform: scale(1.05);
}

.ih-no-image {
    background: linear-gradient(135deg, #e6a500, #ff8c00);
}

.ih-placeholder-content {
    text-align: center;
    color: white;
}

.ih-business-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.ih-business-name {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.ih-business-content {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* position: relative; */
}

.ih-business-logo-small {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ih-business-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ih-business-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3d2817;
    margin: 0;
    line-height: 1.3;
}

/* All tags at top right of card header */
.ih-business-card-header .ih-business-card-tags {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.ih-business-card-header .ih-business-card-tags .ih-business-categories,
.ih-business-card-header .ih-business-card-tags .ih-business-badges {
    position: static;
    margin: 0;
}

.ih-business-categories {
    margin-bottom: 0;
}

.ih-category-badge {
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(230, 165, 0, 0.2);
}

.ih-business-card-header .ih-business-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ih-business-card-header .ih-business-badges .ih-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ih-business-card-header .ih-badge-islamic {
    background: linear-gradient(135deg, #281f15, #e6a500);
    color: white;
}

.ih-business-card-header .ih-badge-verified {
    background: #281f15;
    color: white;
}

.ih-business-description {
    color: #666;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.ih-business-contact {
    margin-bottom: 1.5rem;
}

.ih-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.ih-contact-icon {
    font-size: 1rem;
}

.ih-contact-item a {
    color: #e6a500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ih-contact-item a:hover {
    color: #d49500;
    text-decoration: underline;
}

.ih-business-actions {
    display: flex;
    gap: 5px;

}

.ih-business-actions .ih-btn {
    padding: 8px 0px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 100;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ih-btn-primary {
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    color: white;
    flex: 1;
    box-shadow: 0 4px 15px rgba(230, 165, 0, 0.2);
}

.ih-btn-primary:hover {
    background: linear-gradient(135deg, #d49500, #e67e00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 165, 0, 0.4);
    color: white;
    text-decoration: none;
}

.ih-business-actions .ih-btn-secondary {
    background: #281f15;
    color: #e6a500;
    border: 2px solid #281f15;
    flex: 1;
}

.ih-btn-secondary:hover {
    background: #e6a500;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}


.text-muted-foreground {
    font-size: 1.5rem;
}


/* No businesses message */
.ih-slider-no-businesses {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 600px;
}

.ih-slider-no-businesses p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.hexagon-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23d4a017' fill-opacity='0.06'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ih-business-slider-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ih-business-slider-section {
        padding: 2rem 1rem;
    }

    .ih-slider-title {
        font-size: 2rem;
    }

    .ih-business-card-slider {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .ih-business-featured-image {
        height: 200px;
    }

    .ih-business-content {
        padding: 1.5rem;
    }

    .ih-business-title {
        font-size: 1.3rem;
    }

    .ih-business-actions {
        flex-direction: column;
    }

    .ih-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

}

@media (max-width: 480px) {
    .ih-business-slider-section {
        padding: 2rem 0.5rem;
    }

    .ih-business-card-slider {
        max-width: 320px;
    }

    .ih-business-content {
        padding: 1rem;
    }

    .ih-slider-title {
        font-size: 1.8rem;
    }

    .ih-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}