/* Store-Specific Styles for Ashanti Gold and other embedded stores */

body.store-page {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* New Background Container */
.store-background-container {
    background-color: #6d4c41;
    padding: 40px 0;
    flex: 1;
}

/* Main Card Wrapper */
.store-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Store Header (Banner Only) */
.store-header {
    height: 400px;
    background-position: center;
    background-size: cover;
    position: relative;
}

/* Profile Section (Logo + Info) */
.store-profile-section {
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.store-logo-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: white;
    margin: -90px auto 20px;
    position: relative;
    z-index: 10;
    border: 8px solid white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-details h1 {
    font-size: 42px;
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin: 0 0 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.store-tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 300;
}

.store-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.store-rating-large,
.store-location-large {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666;
}

.store-rating-large i {
    color: #ffd700;
}

.store-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-shop-now,
.whatsapp-store-btn,
.back-to-directory-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-shop-now {
    background: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

.btn-shop-now:hover {
    background: #157347;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 102, 77, 0.3);
}

.whatsapp-store-btn {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.whatsapp-store-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.back-to-directory-btn {
    background: white;
    color: #666;
    border: 2px solid #ddd;
}

.back-to-directory-btn:hover {
    border-color: #999;
    color: #333;
}

/* Custom Layout: Gallery & About */
.store-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.store-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.store-gallery-item {
    aspect-ratio: 1/1;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.store-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-gallery-item:hover img {
    transform: scale(1.05);
}

.view-all-btn {
    align-self: center;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 10px;
}

.view-all-btn:hover {
    background: #1a1a1a;
    color: white;
}

.store-about-section {
    padding: 20px;
}

.store-about-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.store-about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.social-icons-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #8B4513;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: #6d4c41;
}

/* Store Navigation */
.store-nav {
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
}

.store-nav::-webkit-scrollbar {
    height: 6px;
}

.store-nav::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 3px;
}

.store-nav-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: var(--text-dark);
}

.store-nav-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.store-nav-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Store Controls */
.store-controls {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-search {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.store-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.store-search input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.store-search input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 102, 77, 0.1);
}

.store-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-sort label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-sort select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: white;
}

/* Products Section */
.store-products-section {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card-store:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-new {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-image-store {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.product-card-store:hover .product-image-store {
    transform: scale(1.05);
}

.product-info-store {
    padding: 20px;
}

.product-info-store h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-rating-store {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 12px;
    color: #ffd700;
    font-size: 14px;
}

.product-rating-store span {
    color: var(--text-muted);
    margin-left: 8px;
    font-size: 12px;
}

.product-price-store {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.product-actions-store {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-to-cart-store-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-green), #2ecc71);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 102, 77, 0.3);
}

.quick-view-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-view-btn:hover {
    background: var(--secondary-green);
}

.no-products-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-products-message i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-products-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close-cart-btn:hover {
    color: var(--text-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--border-color);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-green), #2ecc71);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 102, 77, 0.3);
}

/* Cart Toggle Button */
.cart-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), #2ecc71);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(25, 102, 77, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
}

.cart-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(25, 102, 77, 0.5);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal.active {
    display: flex;
}

.modal-content-product {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal-product {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal-product:hover {
    transform: rotate(90deg);
    background: #f5f5f5;
}

.modal-product-content {
    padding: 40px;
}

/* Write Review Modal */
.write-review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.write-review-modal.active {
    display: flex;
}

.review-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.review-modal-header {
    padding: 25px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-modal-header h3 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-review-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close-review-modal:hover {
    color: var(--text-dark);
}

.review-form-container {
    padding: 30px;
}

.review-form-group {
    margin-bottom: 25px;
}

.review-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.review-form-group input,
.review-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
}

.review-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.review-form-group input:focus,
.review-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 102, 77, 0.1);
}

.review-form-actions {
    display: flex;
    justify-content: flex-end;
}

.submit-review-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-green), #2ecc71);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 102, 77, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .store-content-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .store-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .store-details h1 {
        font-size: 32px;
    }

    .store-logo-large {
        width: 140px;
        height: 140px;
        margin: -70px auto 20px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .products-grid-store {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Shoppers Delight Specific Styles */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=2574&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-primary-hero {
    background-color: #006B3F;
    color: white;
}

.btn-primary-hero:hover {
    background-color: #005c36;
    transform: translateY(-2px);
}

.btn-secondary-hero {
    background-color: #FCD116;
    color: black;
}

.btn-secondary-hero:hover {
    background-color: #e5be14;
    transform: translateY(-2px);
}

.category-bar {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: sticky;
    top: 80px;
    z-index: 90;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-bar a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.category-bar a:hover,
.category-bar a.active {
    color: #006b3f;
    font-weight: 600;
}

.category-card-food {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card-food:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.products-grid-store {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
