/* Reset and Base Styles */

* {
    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: #374151;
    background-color: #f9fafb;
}

.containera {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wrap {
    position: relative;
    z-index: 0;
    width: 100%;
    background: #00bd56;
    background: #207dff;
    background: -moz-linear-gradient(45deg, #207dff 0%, #00bd55 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, #207dff), color-stop(100%, #00bd55));
    background: -webkit-linear-gradient(45deg, #207dff 0%, #00bd55 100%);
    background: -o-linear-gradient(45deg, #207dff 0%, #00bd55 100%);
    background: -ms-linear-gradient(45deg, #207dff 0%, #00bd55 100%);
    background: linear-gradient(45deg, #207dff 0%, #00bd55 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#207dff', endColorstr='#00bd55', GradientType=1);
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}


/* Header Styles */

.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #00bd56;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.search-containera {
    flex: 1;
    max-width: 32rem;
    margin: 0 2rem;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 12px 12px 12px 44px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #00bd56;
    box-shadow: 0 0 0 3px rgba(0, 189, 86, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-button {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.cart-button {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #00bd56;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-count.hidden {
    display: none;
}


/* Hero Section */

.hero {
    background: linear-gradient(135deg, #00bdaa 0%, #003099 100%);
    padding: 3rem 1rem;
}

.hero-content {
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.732);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.63);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    background: white;
    color: #00bd56;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.hero-button:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Main Content */

.main {
    padding: 3rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #271111;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #706b80;
    font-size: 1rem;
}


/* Products Grid */

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(48px);
    transition: all 0.7s ease-out;
}

.product-row.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Product Card */

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.product-image-containera {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-containera {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #00bd56;
}

.product-original-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.add-to-cart-button {
    width: 100%;
    background: #00bd56;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.add-to-cart-button:hover {
    background: #009944;
    transform: translateY(-1px);
}


/* Newsletter Section */

.newsletter {
    margin-top: 5rem;
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.newsletter-content {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 24rem;
    margin: 0 auto;
}

.newsletter-input {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: #00bd56;
    box-shadow: 0 0 0 3px rgba(0, 189, 86, 0.1);
}

.newsletter-button {
    background: #00bd56;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-button:hover {
    background: #009944;
}


/* Footer */


/* .footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-divider {
    border-top: 1px solid #374151;
    margin: 1.5rem 0;
}

.footer-copyright {
    color: #6b7280;
} */


/* Responsive Design */

@media (min-width: 640px) {
    .containera {
        padding: 0 1.5rem;
    }
    .newsletter-form {
        flex-direction: row;
    }
    .newsletter-input {
        flex: 1;
    }
}

@media (min-width: 768px) {
    .containera {
        padding: 0 2rem;
    }
    .hero-title {
        font-size: 4rem;
    }
    .product-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .search-containera {
        margin: 0 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }
    .search-containera {
        order: 3;
        width: 100%;
        margin: 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
    .newsletter {
        padding: 2rem 1rem;
    }
}


/* Animation Classes */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f8fffe;
}


/* Page Container */

.page-container {
    min-height: 100vh;
}


/* Hero Section */

.hero-section {
    background-color: #00bd56;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}


/* Main Container */

.main-container {
    max-width: 72rem;
    margin: -2rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 20;
}


/* Search Card */

.search-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    background-color: #f9fafb;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #00bd56;
    box-shadow: 0 0 0 3px rgba(0, 189, 86, 0.1);
}

.search-button {
    background-color: #00bd56;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: #00a04a;
}


/* Content Grid */

.content-grid {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}


/* Map Section */

.map-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.map-container {
    width: 100%;
    height: 24rem;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #dbeafe 100%);
}

.map-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.grid-pattern {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    height: 100%;
    gap: 0.25rem;
    padding: 1rem;
}

.grid-pattern::before {
    content: '';
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background-image: linear-gradient(to right, #9ca3af 1px, transparent 1px), linear-gradient(to bottom, #9ca3af 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-help-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 1rem;
}

.map-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-control-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
}


/* Store Markers */

.store-marker {
    position: absolute;
    cursor: pointer;
    transition: all 0.2s;
}

.store-marker:hover {
    transform: scale(1.1);
}

.store-marker.selected {
    transform: scale(1.25);
    z-index: 10;
}

.marker-pin {
    width: 2rem;
    height: 2rem;
    background-color: #00bd56;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-pin i {
    color: white;
    font-size: 1rem;
}


/* Stores Section */

.stores-container {
    max-height: 24rem;
    width: 70rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.store-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.store-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.store-card.selected {
    border-color: #00bd56;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.store-content {
    display: flex;
    gap: 1rem;
}

.store-image {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.store-info {
    flex: 1;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.store-name {
    color: #00bd56;
    font-size: 1.125rem;
    font-weight: 600;
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-star {
    color: #fbbf24;
    font-size: 1rem;
}

.rating-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-icon {
    width: 1rem;
    color: #9ca3af;
}

.store-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.service-tag {
    background-color: #00bd56;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.more-services {
    font-size: 0.75rem;
    color: #6b7280;
}


/* Store Details Card */

.store-details-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid #00bd56;
    padding: 1.5rem;
    margin: 2rem 0;
}

.store-details-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.store-details-icon {
    color: #00bd56;
    font-size: 1.5rem;
}

.store-details-title {
    color: #00bd56;
    font-size: 1.25rem;
    font-weight: 600;
}

.store-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #374151;
}

.contact-details p {
    margin: 0;
}

.contact-details strong {
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-item {
    background-color: #00bd56;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.directions-button {
    width: 100%;
    background-color: #00bd56;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.directions-button:hover {
    background-color: #00a04a;
}


/* Contact Section */

.contact-section {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.contact-description {
    color: #6b7280;
    margin: 0 auto 1.5rem;
    max-width: 42rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: 2px solid transparent;
}

.contact-button.primary {
    background-color: #00bd56;
    color: white;
}

.contact-button.primary:hover {
    background-color: #00a04a;
}

.contact-button.outline {
    background-color: transparent;
    color: #00bd56;
    border-color: #00bd56;
}

.contact-button.outline:hover {
    background-color: #00bd56;
    color: white;
}


/* Responsive Design */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .store-details-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .search-container {
        flex-direction: column;
    }
    .contact-buttons {
        flex-direction: column;
    }
    .store-content {
        flex-direction: column;
    }
    .store-image {
        width: 100%;
        height: 12rem;
    }
}

@media (max-width: 640px) {
    .main-container {
        padding: 0 0.5rem;
    }
    .search-card,
    .map-card,
    .store-details-card,
    .contact-section {
        padding: 1rem;
    }
    .hero-section {
        padding: 2rem 0.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Custom Scrollbar */

.stores-container::-webkit-scrollbar {
    width: 6px;
}

.stores-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.stores-container::-webkit-scrollbar-thumb {
    background: #00bd56;
    border-radius: 3px;
}

.stores-container::-webkit-scrollbar-thumb:hover {
    background: #00a04a;
}