.store-header {
    text-align: center;
    margin-bottom: 4rem;
}

.store-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .store-title {
        font-size: 2rem;
    }
}

.title-underline {
    height: 4px;
    width: 80px;
    background: var(--primary);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.store-sidebar {
    background: var(--bg-white);
    padding: 1.5rem;
    /* Reduced from 2rem */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.btn-store {
    display: block;
    padding: 0.75rem 1rem;
    /* Reduced from 1rem 1.5rem */
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    background: transparent;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid transparent;
    white-space: nowrap;
    /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-store:hover {
    background: rgba(231, 111, 81, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.btn-store.active {
    background: var(--primary);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

.store-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Non-interactive variant for the store detail page (single card, not a hoverable grid item) */
.store-card-static {
    cursor: default;
    box-shadow: none;
    padding: 1.5rem;
}

.store-card-static:hover {
    transform: none;
    box-shadow: none;
}

.store-image {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
}

.store-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover .store-image img {
    transform: scale(1.05);
}

.store-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.store-name {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-heading);
}

.store-detail {
    color: #666;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.store-detail i,
.store-detail svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.store-detail a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-detail a:hover {
    color: var(--primary);
}

@media (max-width: 1200px) {
    .store-sidebar {
        margin-bottom: 2rem;
        position: static;
    }
}

@media (max-width: 576px) {
    .store-info {
        padding: 1.25rem;
    }

    .store-detail {
        margin-bottom: 0.5rem;
    }
}