/**
 * Pachaas Products Plugin Styles
 */

/* Search Bar */
.pachaas-search-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    color: white;
}

.pachaas-search-bar .form-control {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

.pachaas-search-bar .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
}

/* Search Suggestions */
#pachaas-search-suggestions {
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

#pachaas-search-suggestions .list-group-item {
    cursor: pointer;
    border: none;
    border-bottom: 1px solid #dee2e6;
}

#pachaas-search-suggestions .list-group-item:hover {
    background-color: #f8f9fa;
}

#pachaas-search-suggestions .list-group-item:last-child {
    border-bottom: none;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.product-card .card-img-top {
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-title a {
    color: #212529;
    transition: color 0.3s ease;
}

.product-card .card-title a:hover {
    color: #0d6efd;
}

/* Product Gallery */
.pachaas-product-gallery .thumbnail-image {
    transition: all 0.3s ease;
}

.pachaas-product-gallery .thumbnail-image:hover {
    opacity: 0.8;
}

.pachaas-product-gallery .thumbnail-image.active {
    border-color: #0d6efd !important;
    opacity: 1;
}

/* Breadcrumbs */
.pachaas-breadcrumbs {
    background-color: #f8f9fa;
    padding: 1rem 0;
}

.pachaas-breadcrumbs .breadcrumb {
    margin-bottom: 0;
}

/* Categories Grid */
.pachaas-categories-grid .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pachaas-breadcrumbs .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Product Attributes */
.pachaas-product-attributes .list-group-item {
    border-left: 3px solid #0d6efd;
    margin-bottom: 0.5rem;
}

/* Filters */
.pachaas-filters {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Pagination */
.pagination .page-link {
    color: #0d6efd;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination .page-link:hover {
    color: #0a58ca;
    background-color: #e9ecef;
}

/* Loading Spinner */
.pachaas-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #0d6efd;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .pachaas-search-bar {
        padding: 2rem 0;
    }
    
    .product-card .card-img-top {
        height: 200px !important;
    }
    
    .pachaas-product-gallery .main-image img {
        height: 300px !important;
    }
}

/* Highlight for search results */
mark {
    background-color: #fff3cd;
    padding: 0.1em 0.2em;
    border-radius: 0.2em;
}

/* Category Banner */
.category-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

/* Product Single Page */
.pachaas-product-single .product-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.pachaas-product-single .product-price h3 {
    font-size: 2rem;
    font-weight: 700;
}

/* Payment Methods List */
.product-payment-methods ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.product-payment-methods ul li:last-child {
    border-bottom: none;
}

/* Alert Styles */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Button Styles */
.btn-primary {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Card Styles */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}






