/*--------- Stores Interface Styles ----------*/
.stores-showcase-section {
    padding: clamp(40px, 8vw, 80px) 0;
    background-color: var(--pure-white, #ffffff);
}
.stores-page-section {
    padding: clamp(40px, 8vw, 80px) 0;
    min-height: calc(100vh - 100px);
    background-color: var(--off-white, #f8f9fa);
}
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    border-bottom: 2px solid rgba(141, 110, 99, 0.15);
    padding-bottom: 10px;
}
.section-title.mb-0 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.view-all-link {
    color: var(--primary-brown, #8d6e63);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}
.view-all-link:hover {
    color: var(--dark-coffee, #3e2723);
}

/* Scrollable Horizontal Stores Grid (Home Page) */
.stores-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
}
.stores-scroll-wrapper::-webkit-scrollbar { height: 6px; }
.stores-scroll-wrapper::-webkit-scrollbar-thumb { background-color: #ced4da; border-radius: 10px; }
.stores-row {
    display: flex;
    gap: clamp(15px, 3vw, 25px);
    min-width: max-content;
}

/* Full Width Stores Grid (Stores Page) */
.stores-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

/* Store Card UI */
.store-card {
    background: var(--pure-white, #ffffff);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    padding: clamp(20px, 4vw, 30px);
    text-align: center;
    width: clamp(200px, 25vw, 250px); /* For horizontal scrolling only */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.stores-grid-full .store-card {
    width: 100%; /* Override width for grid */
}
.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(141, 110, 99, 0.15);
    border-color: rgba(141, 110, 99, 0.2);
}
.store-avatar {
    width: clamp(60px, 10vw, 90px);
    height: clamp(60px, 10vw, 90px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eaeaea;
    margin-bottom: 15px;
}
.store-name {
    font-weight: 800;
    color: var(--dark-coffee, #3e2723);
    margin-bottom: 5px;
    font-size: clamp(1rem, 2vw, 1.2rem);
}
.store-location {
    color: #6c757d;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-visit-store {
    background: var(--primary-brown, #8d6e63);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    transition: background 0.3s;
    margin-top: auto;
}
.store-card:hover .btn-visit-store {
    background: var(--dark-coffee, #3e2723);
}

/* Single Store Profile Hero */
.store-profile-hero {
    background: linear-gradient(135deg, var(--dark-coffee, #3e2723) 0%, var(--primary-brown, #8d6e63) 100%);
    color: white;
    padding: clamp(30px, 6vw, 60px) clamp(20px, 4vw, 40px);
    border-radius: 15px;
    margin-bottom: clamp(30px, 6vw, 50px);
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}
.store-profile-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.store-profile-avatar {
    width: clamp(100px, 15vw, 150px);
    height: clamp(100px, 15vw, 150px);
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1;
}
.store-profile-info {
    z-index: 1;
}
.store-profile-info h1 {
    margin: 0 0 10px 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: white;
    font-weight: 800;
}
.store-profile-info p {
    margin: 0;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 768px) { 
    .store-profile-hero { 
        flex-direction: column; 
        text-align: center; 
    } 
}

/* Product Card Seller Label Addition */
.product-seller-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(141, 110, 99, 0.2);
    text-decoration: none;
}
.product-seller-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eaeaea;
}
.product-seller-name {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}
.product-seller-label:hover .product-seller-name {
    color: var(--primary-brown, #8d6e63);
    text-decoration: underline;
}

/* Product Details Store Info Card */
.store-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: clamp(15px, 3vw, 20px);
    margin-top: clamp(20px, 4vw, 30px);
    border: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.store-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.store-info-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.store-info-details h4 {
    margin: 0 0 3px 0;
    font-size: 1rem;
    color: var(--dark-coffee, #3e2723);
    font-weight: 700;
}
.store-info-details p {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-store-link {
    background: white;
    color: var(--primary-brown, #8d6e63);
    border: 1px solid var(--primary-brown, #8d6e63);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-store-link:hover {
    background: var(--primary-brown, #8d6e63);
    color: white;
}