/* Homepage Styles - Clean & Simple Bootstrap Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #212529;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.homepage-container {
    min-height: 100vh;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

/* Icon styles for nav items */
.nav-item i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 120px 2rem 80px;
    color: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Feature Cards in Hero */
.feature-cards {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.admin-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.map-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    background: white;
    padding: 80px 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #212529;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #0d6efd;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background: white;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 0.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.stores-icon {
    background: #0d6efd;
}

.products-icon {
    background: #6f42c1;
}

.categories-icon {
    background: #0dcaf0;
}

.analytics-icon {
    background: #198754;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #212529;
    font-weight: 600;
}

.feature-item p {
    color: #6c757d;
    font-size: 0.938rem;
    line-height: 1.5;
}

/* Quick Access Section */
.quick-access-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 2rem;
}

.quick-access-section .section-title {
    color: white;
}

.access-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.access-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 2rem;
    padding: 1rem;
    border-radius: 15px;
    color: white;
}

.admin-access .card-header i {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.map-access .card-header i {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.card-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

.card-body {
    padding: 0 2rem 2rem;
}

.card-body p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #495057;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.admin-access .card-action-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.admin-access .card-action-btn:hover {
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.map-access .card-action-btn {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.map-access .card-action-btn:hover {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* Price Verification Section */
.price-verification-section {
    padding: 2.5rem 2rem;
    background: #0d6efd;
}

.verification-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.verification-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.verification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0d6efd;
}

.verification-icon {
    width: 70px;
    height: 70px;
    background: #0d6efd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verification-icon i {
    font-size: 2rem;
    color: white;
}

.verification-content {
    flex: 1;
}

.verification-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.5rem 0;
}

.verification-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.verification-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #0d6efd;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid #0d6efd;
}

.verification-btn:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    color: white;
    text-decoration: none;
}

.verification-btn i {
    font-size: 0.875rem;
}

.verification-decoration {
    width: 50px;
    height: 50px;
    background: #e7f1ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verification-decoration i {
    font-size: 1.5rem;
    color: #0d6efd;
    opacity: 0.7;
}

/* Products & Store Search Section */
.products-section {
    padding: 3rem 2rem 4rem;
    background: #ffffff;
}

.products-search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-box {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 3rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.search-input::placeholder {
    color: #adb5bd;
}

.clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 6px;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    color: #dc3545;
    background: #f8d7da;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/*.product-card:hover .product-image img {*/
/*    transform: scale(1.05);*/
/*}*/

.product-image.no-image {
    background: #e9ecef;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image.no-image span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-header {
    margin-bottom: 0.75rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category {
    background: #0d6efd;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-description {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.875rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-stores {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stores-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #e7f1ff;
    border-radius: 0.375rem;
    border: 1px solid #cfe2ff;
}

.stores-info i {
    color: #0d6efd;
    font-size: 0.875rem;
}

.store-count {
    color: #212529;
    font-weight: 500;
    font-size: 0.875rem;
}

.store-prices {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.store-prices::before {
    content: "💰 Store Prices:";
    display: block;
    font-weight: 600;
    color: #495057;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-item {
    color: #198754;
    font-weight: 600;
    font-size: 0.813rem;
    padding: 0.375rem 0.75rem;
    background: white;
    border-radius: 0.25rem;
    border-left: 3px solid #198754;
    transition: all 0.2s ease;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-item:hover {
    background: #d1e7dd;
}

.price-item.more {
    border-left-color: #0d6efd;
    color: #0d6efd;
    background: #e7f1ff;
    font-weight: 600;
    cursor: help;
}

.price-item:last-child {
    margin-bottom: 0;
}

.no-products {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
    grid-column: 1 / -1;
    background: white;
    border-radius: 0.5rem;
    border: 2px dashed #dee2e6;
}

.no-products i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-products p {
    font-size: 1rem;
    font-weight: 400;
}

.search-results {
    display: none;
}

/* Search Results */
.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* No Products and Loading States */
.no-products {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 0.5rem;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
    display: block;
}

.no-products p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.loading-indicator {
    text-align: center;
    padding: 2rem;
    color: #0d6efd;
    font-weight: 500;
    font-size: 1rem;
    grid-column: 1 / -1;
}

.loading-indicator i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.product-card.highlighted {
    border: 2px solid #0d6efd;
    background: #e7f1ff;
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.25);
}

/* Product Detail Modal Styles */
#productDetailModal .modal-content {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    overflow: hidden;
}

#productDetailModal .modal-header {
    background: #0d6efd;
    color: white;
    border-bottom: 1px solid #0d6efd;
    padding: 1rem 1.5rem;
}

#productDetailModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#productDetailModal .modal-title::before {
    content: '🛍️';
    font-size: 1.25rem;
}

#productDetailModal .close {
    color: white;
    opacity: 1;
    text-shadow: none;
    font-size: 1.5rem;
    font-weight: 400;
    transition: all 0.2s ease;
    padding: 0;
    background: transparent;
    border: none;
}

#productDetailModal .close:hover {
    opacity: 0.8;
}

#productDetailModal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    background: white;
}

/* Custom scrollbar for modal */
#productDetailModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#productDetailModal .modal-body::-webkit-scrollbar-track {
    background: #f8f9fa;
}

#productDetailModal .modal-body::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 3px;
}

#productDetailModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

#productDetailModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
}

#productDetailModal .modal-footer .btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.938rem;
    transition: all 0.2s ease;
}

#productDetailModal .modal-footer .btn-secondary:hover {
    background: #5c636a;
    border-color: #565e64;
}

.product-detail-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.product-detail-image {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
    position: relative;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-image.no-image {
    background: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    gap: 0.75rem;
}

.product-detail-image.no-image i {
    font-size: 3rem;
    opacity: 0.4;
}

.product-detail-info {
    flex: 1;
}

.product-detail-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #0d6efd;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-detail-category i {
    font-size: 0.875rem;
}

.product-detail-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.938rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
    border-left: 3px solid #0d6efd;
}

.product-detail-section {
    margin-top: 1.5rem;
}

.product-detail-section h6 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.product-detail-section h6 i {
    color: #0d6efd;
    font-size: 1.125rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f1ff;
    border-radius: 0.375rem;
}

.stores-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.stores-table thead th {
    background: #0d6efd;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    border: none;
}

.stores-table tbody td {
    padding: 0.75rem 1rem;
    border-top: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.875rem;
}

.stores-table tbody tr {
    transition: all 0.2s ease;
}

.stores-table tbody tr:hover {
    background: #f8f9fa;
}

.store-name-cell {
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-name-cell i {
    color: #0d6efd;
    font-size: 1rem;
}

.store-location-cell {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.store-location-cell i {
    color: #6c757d;
}

.price-badge {
    background: #198754;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 0.25rem;
    font-weight: 600;
    display: inline-block;
    font-size: 0.938rem;
}

.quantity-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 0.25rem;
    font-weight: 600;
    display: inline-block;
    font-size: 0.875rem;
}

.quantity-badge.in-stock {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.quantity-badge.low-stock {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

.quantity-badge.out-of-stock {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.availability-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.availability-badge.available {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.availability-badge.unavailable {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.no-stores-message {
    text-align: center;
    padding: 2rem 1.5rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 2px dashed #dee2e6;
}

.no-stores-message i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-stores-message p {
    font-size: 0.938rem;
    font-weight: 400;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .homepage-container {
        padding-top: 140px; /* Increase padding for stacked navigation on mobile */
    }

    .verification-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1rem;
        text-align: center;
    }

    .verification-icon {
        margin: 0 auto;
    }

    .verification-title {
        font-size: 1.5rem;
    }

    .verification-description {
        font-size: 0.95rem;
    }

    .verification-decoration {
        margin: 0 auto;
        display: none; /* Hide decoration on mobile for cleaner look */
    }

    .price-verification-section {
        padding: 1.5rem 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .product-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-detail-image {
        width: 100%;
        max-width: 250px;
    }

    .stores-table {
        font-size: 0.85rem;
    }

    .stores-table thead th,
    .stores-table tbody td {
        padding: 0.75rem 0.5rem;
    }

    #productDetailModal .modal-body {
        padding: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-item {
        justify-content: center;
        width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .access-cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .products-section {
        padding: 2rem 1rem 3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .search-input-wrapper {
        max-width: 100%;
    }

    .search-input {
        padding: 0.875rem 3rem 0.875rem 3rem;
        font-size: 0.95rem;
    }

    .search-box {
        margin-bottom: 2rem;
    }

    .product-image {
        height: 200px;
    }

    .product-content {
        padding: 1rem;
    }

    .stores-info {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .store-prices {
        gap: 6px; /* tighter gap on small screens */
    }

    .price-item {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card,
    .feature-item {
        padding: 1.5rem;
    }

    .access-cards {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1rem;
    }

    .product-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-category {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .store-prices {
        padding: 0.75rem;
    }

    .price-item {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 992px) {
    .homepage-container {
        padding-top: 85px;
    }

    .verification-card {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }

    .verification-decoration {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-content {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1.2rem;
    }
}

.primary-btn {
    background: #007bff;
    color: white;
}

.primary-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}